summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-02-18 00:55:21 +0100
committerandroid-merger <android-build@android.com>2011-02-25 03:46:44 +0100
commitee458bbf9b68c70cad80323bb4e1c816e88e36ec (patch)
tree6608ca5a4d9107f8e6882b980faf4dc0e641152b /common.h
parentmake recovery reboot after 2 minutes of no activity (diff)
downloadandroid_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar.gz
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar.bz2
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar.lz
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar.xz
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.tar.zst
android_bootable_recovery-ee458bbf9b68c70cad80323bb4e1c816e88e36ec.zip
Diffstat (limited to '')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index d99daaf86..e6e8f8564 100644
--- a/common.h
+++ b/common.h
@@ -99,6 +99,12 @@ typedef struct {
const char* device2; // alternative device to try if fs_type
// == "ext4" or "vfat" and mounting
// 'device' fails
+
+ long long length; // (ext4 partition only) when
+ // formatting, size to use for the
+ // partition. 0 or negative number
+ // means to format all but the last
+ // (that much).
} Volume;
#endif // RECOVERY_COMMON_H