diff options
author | Kolja Dummann <k.dummann@gmail.com> | 2011-02-13 20:59:30 +0100 |
---|---|---|
committer | Kolja Dummann <k.dummann@gmail.com> | 2011-03-07 13:06:07 +0100 |
commit | 92796ec949f80021cdc11508346489ae1af814c1 (patch) | |
tree | 8ddaf93609746c7b8fb6f622f4668452966e8e5a /roots.c | |
parent | 59d86b4cf783be80724385330889bb7b876e9aed (diff) | |
download | bootable_recovery-92796ec949f80021cdc11508346489ae1af814c1.zip bootable_recovery-92796ec949f80021cdc11508346489ae1af814c1.tar.gz bootable_recovery-92796ec949f80021cdc11508346489ae1af814c1.tar.bz2 |
build "mount & storage" menu from fstab
Diffstat (limited to 'roots.c')
-rw-r--r-- | roots.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -28,8 +28,16 @@ #include "common.h" #include "make_ext4fs.h" -static int num_volumes = 0; -static Volume* device_volumes = NULL; +int num_volumes; +Volume* device_volumes; + +int get_num_volumes() { + return num_volumes; +} + +Volume* get_device_volumes() { + return device_volumes; +} static int is_null(const char* sz) { if (sz == NULL) |