--- multiplexer/command.h 2001/03/19 20:52:34 1.1 +++ multiplexer/command.h 2001/04/05 14:50:42 1.2 @@ -5,24 +5,26 @@ */ -#define C_HELP 1 -#define C_VERS 2 -#define C_QUIT 3 -#define C_VERB 4 -#define C_OPES 5 -#define C_OPS 6 -#define C_OTS 7 -#define C_CROP 8 -#define C_REPT 9 -#define C_FOLO 10 -#define C_TSID 11 -#define C_FROP 12 -#define C_BUSY 13 -#define C_TIMD 14 -#define C_FPSI 15 - -#define C_BSCR 16 - +enum { + C_HELP = 1, + C_VERS, + C_QUIT, + C_VERB, + C_OPES, + C_OPS, + C_OTS, + C_CLOS, + C_APPE, + C_FILE, + C_CROP, + C_REPT, + C_TSID, + C_FROP, + C_BUSY, + C_TIMD, + C_FPSI, + C_BSCR +}; typedef struct { byte token; @@ -33,6 +35,12 @@ typedef struct { char *explmulti; } command_list; +typedef struct filerefer_list { + struct filerefer_list *next; + int filerefnum; + char *filename; +} filerefer_list; + boolean command_init (int cargc, char **cargv); boolean command_expected (unsigned int *nfds,