#ifndef OPTIONS_H #define OPTIONS_H /* Command-line flags. */ enum flags { FLAG_TEST = 1 << 9, }; /* Command-line options structure. */ struct options { char *output; char *inputs[32]; int ninputs; char *modules[64]; int nmodules; int argc; char **argv; }; /* Create a new options struct. */ struct options options(int argc, char *argv[]); /* Parse the command line options. */ int options_parse(struct options *o); #endif