]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/install+setup/install/install.h
Alten PCMCIA Code aus dem Installer entfernt.
[people/pmueller/ipfire-2.x.git] / src / install+setup / install / install.h
1 /* SmoothWall install program.
2 *
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
5 *
6 * (c) Lawrence Manning, 2001
7 * Main include file.
8 *
9 */
10
11 #include "../libsmooth/libsmooth.h"
12
13 #define IDE_EMPTY 0
14 #define IDE_CDROM 1
15 #define IDE_HD 2
16 #define IDE_UNKNOWN 3
17
18 /* CDROMS and harddisks. */
19 struct devparams
20 {
21 char devnode[STRING_SIZE];
22 int module;
23 char modulename[STRING_SIZE];
24 char options[STRING_SIZE];
25 };
26
27 /* ide.c */
28 int checkide(char letter);
29 char findidetype(int type);
30
31 /* cdrom.c */
32 int ejectcdrom(char *dev);
33
34 /* nic.c */
35 int networkmenu(struct keyvalue *ethernetkv);
36
37 /* net.c */
38 int checktarball(char *, char *message);
39
40 /* config.c */
41 int write_disk_configs(struct devparams *dp);
42 int write_lang_configs( char *lang);
43 int write_ethernet_configs(struct keyvalue *ethernetkv);
44
45 /* usb.c */
46 int initialize_usb();
47 int write_usb_modules_conf();
48
49 /* scsi.c */
50 int try_scsi(char *dev);
51 int get_boot(char *dev);
52
53 /* unattended.c */
54 int unattended_setup(struct keyvalue *unattendedkv);