blob: 4cfe1bc008c4f5efbd0eef0a6d87d1c495717d42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef H_KICKSTART
#include "../isys/probe.h"
#include "loader.h"
#define KS_CMD_NONE 0
#define KS_CMD_NFS 1
#define KS_CMD_CDROM 2
#define KS_CMD_HD 3
#define KS_CMD_URL 4
#define KS_CMD_NETWORK 5
#define KS_CMD_TEXT 6
#define KS_CMD_KEYBOARD 7
#define KS_CMD_LANG 8
#define KS_CMD_DD 9
#define KS_CMD_DEVICE 10
#define KS_CMD_CMDLINE 11
#define KS_CMD_GRAPHICAL 12
int ksReadCommands(char * cmdFile, int flags);
int ksGetCommand(int cmd, char ** last, int * argc, char *** argv);
int ksHasCommand(int cmd);
void getKickstartFile(struct knownDevices * kd,
struct loaderData_s * loaderData, int * flagsPtr);
void setupKickstart(struct loaderData_s * loaderData, int * flagsPtr);
int getKickstartFromBlockDevice(char *device, char *path);
void getHostandPath(char * ksSource, char **host, char ** file, char * ip);
#endif
|