Merge remote-tracking branch 'origin/master' into chaindev
[profile/ivi/syslinux.git] / com32 / chain / options.h
1 #ifndef _COM32_CHAIN_OPTIONS_H
2 #define _COM32_CHAIN_OPTIONS_H
3
4 #include <stdint.h>
5 #include <syslinux/bootrm.h>
6
7 struct options {
8     unsigned int fseg;
9     unsigned int foff;
10     unsigned int fip;
11     unsigned int sseg;
12     unsigned int soff;
13     unsigned int sip;
14     const char *drivename;
15     const char *partition;
16     const char *file;
17     const char *grubcfg;
18     bool isolinux;
19     bool cmldr;
20     bool drmk;
21     bool grub;
22     bool grldr;
23     bool maps;
24     bool hand;
25     bool hptr;
26     bool swap;
27     int hide;
28     bool sect;
29     bool save;
30     bool bss;
31     bool setbpb;
32     bool filebpb;
33     bool fixchs;
34     bool warn;
35     bool brkchain;
36     uint16_t keeppxe;
37     struct syslinux_rm_regs regs;
38 };
39
40 extern struct options opt;
41
42 void opt_set_defs(void);
43 int opt_parse_args(int argc, char *argv[]);
44
45 #endif
46
47 /* vim: set ts=8 sts=4 sw=4 noet: */