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