diff options
author | Doug Zongker <dougz@android.com> | 2011-10-28 19:33:05 +0200 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2011-10-28 19:33:05 +0200 |
commit | 10e418d3c89ec404fbf959c1ef77a720a42a66ed (patch) | |
tree | 0c429bcc8f4a1935f3be97d87ebdc2f4434ee887 /install.h | |
parent | allow recovery packages to wipe cache (diff) | |
download | android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar.gz android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar.bz2 android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar.lz android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar.xz android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.tar.zst android_bootable_recovery-10e418d3c89ec404fbf959c1ef77a720a42a66ed.zip |
Diffstat (limited to 'install.h')
-rw-r--r-- | install.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,10 @@ #include "common.h" +#ifdef __cplusplus +extern "C" { +#endif + enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT }; // Install the package specified by root_path. If INSTALL_SUCCESS is // returned and *wipe_cache is true on exit, caller should wipe the @@ -26,4 +30,8 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT }; int install_package(const char *root_path, int* wipe_cache, const char* install_file); +#ifdef __cplusplus +} +#endif + #endif // RECOVERY_INSTALL_H_ |