summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/params.h
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-05 14:20:04 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-05 14:20:04 +0000
commit906e93d480d8b77aac8ce4b3837ab55b3b496d2d (patch)
tree9cd87ac3f59fa00d037a710c4c16316bc07cd14b /mdk-stage1/params.h
parent6e072ae33680c4c5d31baa081e0a6d3feac22861 (diff)
downloaddrakx-906e93d480d8b77aac8ce4b3837ab55b3b496d2d.tar
drakx-906e93d480d8b77aac8ce4b3837ab55b3b496d2d.tar.gz
drakx-906e93d480d8b77aac8ce4b3837ab55b3b496d2d.tar.bz2
drakx-906e93d480d8b77aac8ce4b3837ab55b3b496d2d.tar.xz
drakx-906e93d480d8b77aac8ce4b3837ab55b3b496d2d.zip
- move parameters functions in params.c
- move string/system utility functions in utils.c
Diffstat (limited to 'mdk-stage1/params.h')
-rw-r--r--mdk-stage1/params.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/mdk-stage1/params.h b/mdk-stage1/params.h
new file mode 100644
index 000000000..2fe624143
--- /dev/null
+++ b/mdk-stage1/params.h
@@ -0,0 +1,31 @@
+/*
+ * Guillaume Cottenceau (gc@mandrakesoft.com)
+ *
+ * Copyright 2000 Mandrakesoft
+ *
+ * This software may be freely redistributed under the terms of the GNU
+ * public license.
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef _PARAMS_H_
+#define _PARAMS_H_
+
+void process_cmdline(void);
+int get_param(int i);
+char * get_param_valued(char *param_name);
+void set_param(int i);
+void unset_param(int i);
+void unset_automatic(void);
+
+struct param_elem
+{
+ char * name;
+ char * value;
+};
+
+#endif