summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-10-19 19:51:12 +0200
committerDoug Zongker <dougz@android.com>2011-10-19 20:26:18 +0200
commitd0181b8fcdac761afec252151a8bfda116916e96 (patch)
treec878f12af3461775fe971b1a935783d08c6e9d62 /install.h
parentminui: add ability to synchronize current key state (diff)
downloadandroid_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar.gz
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar.bz2
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar.lz
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar.xz
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.tar.zst
android_bootable_recovery-d0181b8fcdac761afec252151a8bfda116916e96.zip
Diffstat (limited to '')
-rw-r--r--install.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/install.h b/install.h
index a7ebc090d..5ebe16047 100644
--- a/install.h
+++ b/install.h
@@ -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_