summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2001-06-08 02:36:23 +0000
committerNeil Brown <neilb@suse.de>2001-06-08 02:36:23 +0000
commit64c4757e27fe7d688685e9a86ff87a3331a88979 (patch)
tree2c9a30b670f8d5c839bdd27db660f0d781f666e4 /config.c
downloadmdadm-64c4757e27fe7d688685e9a86ff87a3331a88979.tar.gz
mdadm-64c4757e27fe7d688685e9a86ff87a3331a88979.tar.xz
mdadm-64c4757e27fe7d688685e9a86ff87a3331a88979.zip
mdctl-v0.2mdctl-v0.2
Diffstat (limited to 'config.c')
-rw-r--r--config.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/config.c b/config.c
new file mode 100644
index 0000000..b4d235c
--- /dev/null
+++ b/config.c
@@ -0,0 +1,54 @@
+/*
+ * mdctl - manage Linux "md" devices aka RAID arrays.
+ *
+ * Copyright (C) 2001 Neil Brown <neilb@cse.unsw.edu.au>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Neil Brown
+ * Email: <neilb@cse.unsw.edu.au>
+ * Paper: Neil Brown
+ * School of Computer Science and Engineering
+ * The University of New South Wales
+ * Sydney, 2052
+ * Australia
+ */
+
+#include "mdctl.h"
+
+/*
+ * Read the config file
+ *
+ * conf_get_uuids gets a list of devicename+uuid pairs
+ * conf_get_devs gets device names after expanding wildcards
+ *
+ * Each keeps the returned list and frees it when asked to make
+ * a new list.
+ *
+ */
+
+char DefaultConfFile[] = "/etc/mdctl.conf";
+
+mddev_uuid_t conf_get_uuids(char *conffile)
+{
+ return NULL;
+}
+
+mddev_dev_t conf_get_devs(char *conffile)
+{
+ return NULL;
+}
+