summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/automatic.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-12-17 23:32:50 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-12-17 23:32:50 +0000
commite5b4ea994b4cf66d418494d33abd89300d291c6d (patch)
tree7d8c840ea0a27814b53fa0a94c0a0d3fa92ae5c6 /mdk-stage1/automatic.h
parent2766c6bb69ced7c4f33ec9d8bda56ba5b66e2915 (diff)
downloaddrakx-backup-do-not-use-e5b4ea994b4cf66d418494d33abd89300d291c6d.tar
drakx-backup-do-not-use-e5b4ea994b4cf66d418494d33abd89300d291c6d.tar.gz
drakx-backup-do-not-use-e5b4ea994b4cf66d418494d33abd89300d291c6d.tar.bz2
drakx-backup-do-not-use-e5b4ea994b4cf66d418494d33abd89300d291c6d.tar.xz
drakx-backup-do-not-use-e5b4ea994b4cf66d418494d33abd89300d291c6d.zip
automatic mode added (a.k.a get rid of redhat kickstart)
Diffstat (limited to 'mdk-stage1/automatic.h')
-rw-r--r--mdk-stage1/automatic.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/mdk-stage1/automatic.h b/mdk-stage1/automatic.h
new file mode 100644
index 000000000..507876072
--- /dev/null
+++ b/mdk-stage1/automatic.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.
+ *
+ */
+
+/*
+ * This is supposed to replace the redhat "kickstart", by name but
+ * also by design (no code pollution).
+ *
+ */
+
+#ifndef _AUTOMATIC_H_
+#define _AUTOMATIC_H_
+
+#include "stage1.h"
+
+void grab_automatic_params(char * line);
+
+enum return_type ask_from_list_auto(char *msg, char ** elems, char ** choice, char * auto_param, char ** elems_auto);
+enum return_type ask_from_entries_auto(char *msg, char ** questions, char *** answers, int entry_size, char ** questions_auto);
+
+#endif