1b004bc373a7c219d9c5d4fb722a5294e774f9d8
[people/teissler/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 * $Id: install.h,v 1.10 2004/02/24 21:24:10 alanh Exp $
10 *
11 */
12
13 #include "../libsmooth/libsmooth.h"
14
15 #define IDE_EMPTY 0
16 #define IDE_CDROM 1
17 #define IDE_HD 2
18 #define IDE_UNKNOWN 3
19
20 /* CDROMS and harddisks. */
21 struct devparams
22 {
23 char devnode[STRING_SIZE];
24 int module;
25 char modulename[STRING_SIZE];
26 char options[STRING_SIZE];
27 };
28
29 /* ide.c */
30 int checkide(char letter);
31 char findidetype(int type);
32
33 /* cdrom.c */
34 int ejectcdrom(char *dev);
35
36 /* nic.c */
37 int networkmenu(struct keyvalue *ethernetkv);
38
39 /* net.c */
40 int checktarball(char *);
41
42 /* config.c */
43 int write_disk_configs(struct devparams *dp);
44 int write_lang_configs( char *lang);
45 int write_ethernet_configs(struct keyvalue *ethernetkv);
46
47 /* pcmcia.c */
48 char * initialize_pcmcia (void);
49
50 /* upgrade_v12_v13.c */
51 int upgrade_v12_v13();
52
53 /* upgrade_v130_v131.c */
54 int upgrade_v130_v140();
55
56 /* usb.c */
57 int initialize_usb();
58 int write_usb_modules_conf();
59
60 /* scsi.c */
61 int try_scsi(char *dev);
62 int get_boot(char *dev);