]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/install+setup/install/install.h
git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848...
[ipfire-2.x.git] / src / install+setup / install / install.h
diff --git a/src/install+setup/install/install.h b/src/install+setup/install/install.h
new file mode 100644 (file)
index 0000000..a583049
--- /dev/null
@@ -0,0 +1,92 @@
+/* SmoothWall install program.\r
+ *\r
+ * This program is distributed under the terms of the GNU General Public\r
+ * Licence.  See the file COPYING for details.\r
+ *\r
+ * (c) Lawrence Manning, 2001\r
+ * Main include file.\r
+ * \r
+ * $Id: install.h,v 1.10.2.4 2006/01/11 01:01:38 franck78 Exp $\r
+ * \r
+ */\r
+\r
+#include "../libsmooth/libsmooth.h"\r
+\r
+#define IDE_EMPTY 0\r
+#define IDE_CDROM 1\r
+#define IDE_HD 2\r
+#define IDE_UNKNOWN 3\r
+\r
+/* CDROMS and harddisks. */\r
+struct devparams\r
+{\r
+       char devnode_disk[30];          // when single partition is addressed\r
+       char devnode_part[30];          // when the RAID partition is addressed\r
+       char devnode_disk_run[30];      // the same dev but after installation \r
+       char devnode_part_run[30];\r
+       char modulename[STRING_SIZE];\r
+       char options[STRING_SIZE];\r
+//     int module;\r
+};\r
+\r
+/* ide.c */\r
+int checkide(char letter);\r
+char findidetype(int type);\r
+\r
+/* cdrom.c */\r
+int ejectcdrom(char *dev);\r
+\r
+/* nic.c */\r
+int networkmenu(struct keyvalue *ethernetkv);\r
+\r
+/* net.c */\r
+int checktarball(char *);\r
+\r
+/* config.c */\r
+int write_disk_configs(struct devparams *dp);\r
+int write_lang_configs( char *lang);\r
+int write_ethernet_configs(struct keyvalue *ethernetkv);\r
+\r
+/* pcmcia.c */\r
+char * initialize_pcmcia (void);\r
+\r
+/* upgrade_v12_v13.c */\r
+int upgrade_v12_v13();\r
+\r
+/* upgrade_v130_v131.c */\r
+int upgrade_v130_v140();\r
+\r
+/* usb.c */\r
+int initialize_usb();\r
+int write_usb_modules_conf();\r
+int checkusb (char *partition);\r
+\r
+/* scsi.c */\r
+int try_scsi(char *dev);\r
+int get_boot(char *dev);\r
+\r
+/*main.c */\r
+int modprobe (char *mod);\r
+int rmmod (char *mod);\r
+\r
+extern char *bz_tr[];\r
+extern char *cs_tr[];\r
+extern char *da_tr[];\r
+extern char *en_tr[];\r
+extern char *es_tr[];\r
+extern char *fi_tr[];\r
+extern char *fr_tr[];\r
+extern char *hu_tr[];\r
+extern char *la_tr[];\r
+extern char *nl_tr[];\r
+extern char *de_tr[];\r
+extern char *tr_tr[];\r
+extern char *it_tr[];\r
+extern char *el_tr[];\r
+extern char *pl_tr[];\r
+extern char *pt_tr[];\r
+extern char *sk_tr[];\r
+extern char *so_tr[];\r
+extern char *sv_tr[];\r
+extern char *no_tr[];\r
+extern char *vi_tr[];\r