summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2013-02-13 21:59:35 +0100
committerKen Sumrall <ksumrall@android.com>2013-02-20 02:37:22 +0100
commitf35d1cef7c19db975a1295e8c23c7fb8bd2489f9 (patch)
tree9fb6f4d5beddbf1dc13c4ed60a3f670fe5bb5781 /common.h
parentam f7d42340: am c560a67b: add optional overscan compensation to recovery graphics (diff)
downloadandroid_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar.gz
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar.bz2
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar.lz
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar.xz
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.tar.zst
android_bootable_recovery-f35d1cef7c19db975a1295e8c23c7fb8bd2489f9.zip
Diffstat (limited to '')
-rw-r--r--common.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/common.h b/common.h
index a1168cdbb..3587a31f2 100644
--- a/common.h
+++ b/common.h
@@ -39,24 +39,7 @@ extern "C" {
#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
-
- 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;
+typedef struct fstab_rec Volume;
// fopen a file, mounting volumes and making parent dirs as necessary.
FILE* fopen_path(const char *path, const char *mode);