1 #ifndef BILLING_DEFINES 2 #define BILLING_DEFINES 1 3 #define BILLING_EXEC_MENU 1 4 #define BILLING_EXEC_TCL 2 5 #define BILLING_EXEC_QUIT 3 6 #define BILLING_EXEC_INPT 4 7 #define TITLE_LEN 40 8 #endif 9 10 int main (int argc, char **argv); 11 void resetdisplay (int signal); 12 13 struct menu_exec { 14 unsigned char type; 15 char exec_file[40]; 16 }; 17 18 struct menulist { 19 char hotkey; 20 char name[75]; 21 struct menu_exec exec_cmd; 22 char value[30]; 23 unsigned char enabled; 24 int copyunless; 25 }; 26 27 int playmenu(char *file); 28 int drawmenu(char *title, struct menulist menuitems[], int numitems, int selected); |