summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-10-19 00:33:23 +0200
committerTianjie Xu <xunchang@google.com>2016-10-19 00:33:23 +0200
commit81e54eddd4132895d70ab8b2307c693311799e05 (patch)
tree7487e2ea808f9702854bd95f5befefef55ef1c45 /install.h
parentMerge "Change StringValue to use std::string" am: 2b17b24ae5 am: 430b7ae469 (diff)
parentresolve merge conflicts of 6fba98c to stage-aosp-master (diff)
downloadandroid_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar.gz
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar.bz2
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar.lz
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar.xz
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.tar.zst
android_bootable_recovery-81e54eddd4132895d70ab8b2307c693311799e05.zip
Diffstat (limited to 'install.h')
-rw-r--r--install.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.h b/install.h
index 14de22556..7f66a51ca 100644
--- a/install.h
+++ b/install.h
@@ -18,9 +18,9 @@
#define RECOVERY_INSTALL_H_
#include <string>
+#include <ziparchive/zip_archive.h>
#include "common.h"
-#include "minzip/Zip.h"
enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED,
INSTALL_RETRY };
@@ -36,6 +36,6 @@ bool verify_package(const unsigned char* package_data, size_t package_size);
// Read meta data file of the package, write its content in the string pointed by meta_data.
// Return true if succeed, otherwise return false.
-bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data);
+bool read_metadata_from_package(ZipArchiveHandle zip, std::string* meta_data);
#endif // RECOVERY_INSTALL_H_