version 1.2, 2001/04/05 14:50:42
|
version 1.3, 2001/04/09 15:26:03
|
Line 5
|
Line 5
|
*/ |
*/ |
|
|
|
|
|
/* Tokens to denote main commands: |
|
*/ |
enum { |
enum { |
C_HELP = 1, |
C_HELP = 1, |
C_VERS, |
C_VERS, |
Line 27 enum {
|
Line 29 enum {
|
}; |
}; |
|
|
typedef struct { |
typedef struct { |
byte token; |
byte token; /* 0, if com* is not set */ |
byte width; |
byte width; /* size of field to print comlong in help, 0 to term list */ |
short comshort; |
short comshort; /* -1, if no short version */ |
char *comlong; |
char *comlong; /* NULL for purely explanatory lines */ |
char *explain; |
char *explain; /* exaplanatory string, may contain %s to insert explmulti*/ |
char *explmulti; |
char *explmulti; /* is inserted only when splice_multipleprograms is TRUE */ |
} command_list; |
} 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 { |
typedef struct filerefer_list { |
struct filerefer_list *next; |
struct filerefer_list *next; |
int filerefnum; |
int filerefnum; |