/* * Definition of switch descritpion table entry. * Last entry in the table must be NULL. */ typedef struct { char *name; /* switch name (preceded by '-') */ int flag; /* set if argument follows switch, else 0 */ char **arg; /* argument following switch */ char *descr; /* description of the switch */ } SwitchTable; #ifndef NULL #define NULL 0 #endif extern char **scansw();