blob: 4493ef1fb4db8d654b02939eb9b412a869cd89ea [file] [log] [blame]
#ifndef _COM32_CHAIN_OPTIONS_H
#define _COM32_CHAIN_OPTIONS_H
#include <stdint.h>
#include <syslinux/bootrm.h>
struct options {
unsigned int fseg;
unsigned int foff;
unsigned int fip;
unsigned int sseg;
unsigned int soff;
unsigned int sip;
const char *drivename;
const char *partition;
const char *file;
const char *grubcfg;
bool isolinux;
bool cmldr;
bool drmk;
bool grub;
bool grldr;
bool maps;
bool hand;
bool hptr;
bool swap;
int hide;
bool sect;
bool save;
bool bss;
bool setbpb;
bool filebpb;
bool fixchs;
bool warn;
bool brkchain;
uint16_t keeppxe;
struct syslinux_rm_regs regs;
};
extern struct options opt;
void opt_set_defs(void);
int opt_parse_args(int argc, char *argv[]);
#endif
/* vim: set ts=8 sts=4 sw=4 noet: */