#ifndef BILLING_DEFINES
#define BILLING_DEFINES 1
#define BILLING_EXEC_MENU 1
#define BILLING_EXEC_TCL  2
#define BILLING_EXEC_QUIT 3
#define BILLING_EXEC_INPT 4
#define TITLE_LEN 40
#endif

int main (int argc, char **argv);
void resetdisplay (int signal);

struct menu_exec {
	unsigned char type;
	char exec_file[40];
};

struct menulist {
	char hotkey;
	char name[75];
	struct menu_exec exec_cmd;
	char value[30];
	unsigned char enabled;
	int copyunless;
};

int playmenu(char *file);
int drawmenu(char *title, struct menulist menuitems[], int numitems, int selected);
