aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
diff options
context:
space:
mode:
authorKolja Dummann <k.dummann@gmail.com>2011-02-13 20:59:30 +0100
committerKolja Dummann <k.dummann@gmail.com>2011-03-07 13:06:07 +0100
commit92796ec949f80021cdc11508346489ae1af814c1 (patch)
tree8ddaf93609746c7b8fb6f622f4668452966e8e5a /roots.c
parent59d86b4cf783be80724385330889bb7b876e9aed (diff)
downloadbootable_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.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/roots.c b/roots.c
index 019764b..a3c4677 100644
--- a/roots.c
+++ b/roots.c
@@ -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)