summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.h b/install.h
index 680499db3..66764f542 100644
--- a/install.h
+++ b/install.h
@@ -23,12 +23,13 @@
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);
#ifdef __cplusplus
}