commit | 92796ec949f80021cdc11508346489ae1af814c1 | [log] [tgz] |
---|---|---|
author | Kolja Dummann <k.dummann@gmail.com> | Sun Feb 13 20:59:30 2011 +0100 |
committer | Kolja Dummann <k.dummann@gmail.com> | Mon Mar 07 13:06:07 2011 +0100 |
tree | 8ddaf93609746c7b8fb6f622f4668452966e8e5a | |
parent | 59d86b4cf783be80724385330889bb7b876e9aed [diff] [blame] |
build "mount & storage" menu from fstab
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)