diff options
Diffstat (limited to '')
-rw-r--r-- | installcommand.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/installcommand.h b/installcommand.h index 505640e0a..16c034f7d 100644 --- a/installcommand.h +++ b/installcommand.h @@ -21,15 +21,17 @@ #include <string> -#include "minzip/Zip.h" +#include "zipwrap.hpp" -bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data); +bool read_metadata_from_package(ZipWrap* zip, std::string* meta_data); int -abupdate_binary_command(const char* path, ZipArchive* zip, int retry_count, +abupdate_binary_command(const char* path, ZipWrap* zip, int retry_count, int status_fd, std::vector<std::string>* cmd); int -update_binary_command(const char* path, ZipArchive* zip, int retry_count, +update_binary_command(const char* path, int retry_count, int status_fd, std::vector<std::string>* cmd); +bool verify_package_compatibility(ZipWrap *package_zip); + #endif // RECOVERY_INSTALL_COMMAND_H_ |