summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-20 21:16:13 +0200
committerDoug Zongker <dougz@android.com>2010-09-21 23:13:45 +0200
commitcc8cd3f3cac07f6927ead277ef390c000ae798d9 (patch)
treeeb69079a188920538b1d955d0da5d594d934723f /common.h
parentam 3dba40da: (-s ours) am d4208f9f: remove the notion of "root path"; support mixed flash types (do not merge) (diff)
downloadandroid_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar.gz
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar.bz2
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar.lz
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar.xz
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.tar.zst
android_bootable_recovery-cc8cd3f3cac07f6927ead277ef390c000ae798d9.zip
Diffstat (limited to '')
-rw-r--r--common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/common.h b/common.h
index 0c250f4fa..97e87eec5 100644
--- a/common.h
+++ b/common.h
@@ -87,4 +87,17 @@ void ui_reset_progress();
#define STRINGIFY(x) #x
#define EXPAND(x) STRINGIFY(x)
+typedef struct {
+ const char* mount_point; // eg. "/cache". must live in the root directory.
+
+ const char* fs_type; // "yaffs2" or "ext4" or "vfat"
+
+ const char* device; // MTD partition name if fs_type == "yaffs"
+ // block device if fs_type == "ext4" or "vfat"
+
+ const char* device2; // alternative device to try if fs_type
+ // == "ext4" or "vfat" and mounting
+ // 'device' fails
+} Volume;
+
#endif // RECOVERY_COMMON_H