diff options
Diffstat (limited to '')
-rw-r--r-- | install.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,6 +20,10 @@ #include "common.h" enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT }; -int install_package(const char *root_path); +// Install the package specified by root_path. If INSTALL_SUCCESS is +// returned and *wipe_cache is true on exit, caller should wipe the +// cache partition. +int install_package(const char *root_path, int* wipe_cache, + const char* install_file); #endif // RECOVERY_INSTALL_H_ |