# /* send_cmd.h */ /* This file contains the definitions and data structures for the * command interpreter for the send program. This includes the * table of commands. */ #define C_TO 0 /* to command */ #define C_CC 1 /* cc command */ #define C_BCC 2 /* bcc command */ #define C_SUBJ 3 /* subject command */ #define C_EDIT 4 /* edit command */ #define C_DISP 5 /* display command */ #define C_HELP 6 /* help command */ #define C_QUIT 7 /* quit command */ #define C_SEND 8 /* send command */ #define C_PUSH 9 /* push command */ struct cmd_tab { /* the table of valid commands */ char *cm_name; /* command name */ int cm_tag; /* the command tag */ } cmd_tab[] = { { "to", C_TO }, { "cc", C_CC }, { "bcc", C_BCC }, { "subject", C_SUBJ }, { "edit", C_EDIT }, { "display", C_DISP }, { "help", C_HELP }, { "?", C_HELP }, { "quit", C_QUIT }, { "send", C_SEND }, { "push", C_PUSH }, { "", 0 }, };