diff options
author | Tianjie Xu <xunchang@google.com> | 2016-10-18 23:13:07 +0200 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2016-10-18 23:31:04 +0200 |
commit | 8176cf232e9f613a2e500f09461fc3f448267d07 (patch) | |
tree | 7bef9898660d13fc74dbe528bc0331950fe19604 /install.h | |
parent | Merge "Change StringValue to use std::string" (diff) | |
parent | Merge "Replace minzip with libziparchive" (diff) | |
download | android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar.gz android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar.bz2 android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar.lz android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar.xz android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.tar.zst android_bootable_recovery-8176cf232e9f613a2e500f09461fc3f448267d07.zip |
Diffstat (limited to '')
-rw-r--r-- | install.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_ |