--- multiplexer/command.h 2001/04/05 14:50:42 1.2 +++ multiplexer/command.h 2001/04/09 15:26:03 1.3 @@ -5,6 +5,8 @@ */ +/* Tokens to denote main commands: + */ enum { C_HELP = 1, C_VERS, @@ -27,14 +29,17 @@ enum { }; typedef struct { - byte token; - byte width; - short comshort; - char *comlong; - char *explain; - char *explmulti; -} command_list; + byte token; /* 0, if com* is not set */ + byte width; /* size of field to print comlong in help, 0 to term list */ + short comshort; /* -1, if no short version */ + char *comlong; /* NULL for purely explanatory lines */ + char *explain; /* exaplanatory string, may contain %s to insert explmulti*/ + char *explmulti; /* is inserted only when splice_multipleprograms is TRUE */ +} command_list; /* otherwise if explmulti is NULL, ignore the whole line */ +/* Linked list to hold pairs of filerefnum and filenames, as + * long as not used during an "open" or "append" operation: + */ typedef struct filerefer_list { struct filerefer_list *next; int filerefnum;