summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
Diffstat (limited to 'install.h')
-rw-r--r--install.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/install.h b/install.h
index 092fd8f67..b4655dfab 100644
--- a/install.h
+++ b/install.h
@@ -24,12 +24,14 @@
extern "C" {
#endif
-enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE };
+enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED,
+ INSTALL_RETRY };
// 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, bool* wipe_cache,
- const char* install_file, bool needs_mount);
+int install_package(const char* root_path, bool* wipe_cache, const char* install_file,
+ bool needs_mount, int retry_count);
+
RSAPublicKey* load_keys(const char* filename, int* numKeys);
#ifdef __cplusplus