aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker2011-10-28 12:33:05 -0500
committerDoug Zongker2011-10-31 12:24:09 -0500
commit28ce47cfa6919518a8c298088bf08b03bb374c0f (patch)
tree0c429bcc8f4a1935f3be97d87ebdc2f4434ee887 /install.h
parentd0181b8fcdac761afec252151a8bfda116916e96 (diff)
downloadplatform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.gz
platform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.xz
platform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.zip
turn recovery into a C++ binary
Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
Diffstat (limited to 'install.h')
-rw-r--r--install.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.h b/install.h
index 5ebe1604..1943f02d 100644
--- a/install.h
+++ b/install.h
@@ -19,6 +19,10 @@
19 19
20#include "common.h" 20#include "common.h"
21 21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
22enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT }; 26enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT };
23// Install the package specified by root_path. If INSTALL_SUCCESS is 27// Install the package specified by root_path. If INSTALL_SUCCESS is
24// returned and *wipe_cache is true on exit, caller should wipe the 28// returned and *wipe_cache is true on exit, caller should wipe the
@@ -26,4 +30,8 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT };
26int install_package(const char *root_path, int* wipe_cache, 30int install_package(const char *root_path, int* wipe_cache,
27 const char* install_file); 31 const char* install_file);
28 32
33#ifdef __cplusplus
34}
35#endif
36
29#endif // RECOVERY_INSTALL_H_ 37#endif // RECOVERY_INSTALL_H_