summaryrefslogtreecommitdiffstats
path: root/loader2/loader.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-03 18:02:11 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-03 18:02:11 +0000
commit00a83be9766ea0990ff209620300f094747a26f7 (patch)
treecc23b0b5ba08acf3b56d5224b6c359e624c1a367 /loader2/loader.h
parent5f86a917d7a2017881f64e21638c595abaac50a8 (diff)
downloadanaconda-00a83be9766ea0990ff209620300f094747a26f7.tar.gz
anaconda-00a83be9766ea0990ff209620300f094747a26f7.tar.xz
anaconda-00a83be9766ea0990ff209620300f094747a26f7.zip
add a data structure to hold loader data and pass it around lots of places
kickstart basically works now. need to hook up sources other than nfs for installing and getting kickstart file from other than floppy and file
Diffstat (limited to 'loader2/loader.h')
-rw-r--r--loader2/loader.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/loader2/loader.h b/loader2/loader.h
index 720e70e48..a282f637b 100644
--- a/loader2/loader.h
+++ b/loader2/loader.h
@@ -1,3 +1,6 @@
+#ifndef LOADER_H
+#define LOADER_H
+
#define LOADER_OK 0
#define LOADER_BACK 1
#define LOADER_NOOP 2
@@ -75,3 +78,24 @@ int setupRamdisk(void);
#else
#define RAMDISK_DEVICE "/dev/ram2"
#endif
+
+
+/* JKFIXME: I don't like all of the _set attribs, but without them,
+ * we can't tell if it was explicitly set by kickstart/cmdline or
+ * if we just got it going through the install. */
+struct loaderData_s {
+ char * lang;
+ int lang_set;
+ char * kbd;
+ int kbd_set;
+ char * netDev;
+ int netDev_set;
+ char * ip, * netmask, *gateway, *dns, *hostname;
+ int noDns;
+ int ipinfo_set;
+ char * ksFile;
+ char * method;
+ void * methodData;
+};
+
+#endif