File indexing completed on 2025-01-18 10:02:03
0001 #ifndef MAD_CMDIN_H
0002 #define MAD_CMDIN_H
0003
0004
0005
0006 struct command;
0007 struct name_list;
0008 struct char_p_array;
0009
0010 struct in_cmd
0011 {
0012 char name[NAME_L];
0013 char* label;
0014 int type;
0015
0016
0017
0018
0019 int sub_type;
0020 int stamp;
0021 int decl_start;
0022 int clone_flag;
0023 struct char_p_array* tok_list;
0024 struct command* cmd_def;
0025 struct command* clone;
0026 };
0027
0028 struct in_cmd_list
0029 {
0030 int stamp;
0031 char name[NAME_L];
0032 int max,
0033 curr;
0034 struct name_list* labels;
0035 struct in_cmd** in_cmds;
0036 };
0037
0038
0039
0040 struct in_cmd* new_in_cmd(int length);
0041 struct in_cmd* delete_in_cmd(struct in_cmd*);
0042 struct in_cmd* buffered_cmd (struct in_cmd*);
0043 struct in_cmd* buffer_in_cmd(struct in_cmd*);
0044
0045 struct in_cmd_list* new_in_cmd_list(int length);
0046 void grow_in_cmd_list(struct in_cmd_list*);
0047
0048
0049 void scan_in_cmd (struct in_cmd*);
0050 void dump_in_cmd (struct in_cmd*);
0051
0052 #endif