diff options
author | Andres Morales <anmorales@google.com> | 2014-08-06 19:07:35 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-05 02:34:22 +0200 |
commit | 9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad (patch) | |
tree | 1d60fc74a6983fe4a1ef3f60e2d039857a18c2a1 /roots.h | |
parent | remove spurious parens from error message (diff) | |
parent | Erase PST partition if its marked to be erased. (diff) | |
download | android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar.gz android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar.bz2 android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar.lz android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar.xz android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.tar.zst android_bootable_recovery-9dc71cfa5233789a50d8a9d2c9af87d0f106d4ad.zip |
Diffstat (limited to 'roots.h')
-rw-r--r-- | roots.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,11 @@ int format_volume(const char* volume); // mounted (/tmp and /cache) are mounted. Returns 0 on success. int setup_install_mounts(); +// Conditionally wipes the /persistent partition if it's marked +// to wipe. Returns -1 on failure, 1 if the partition was wiped +// and 0 if the partition was not wiped. +int erase_persistent_partition(); + #ifdef __cplusplus } #endif |