1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef WEB_PROMPT_H #define WEB_PROMPT_H enum prompt_mode { PM_DARTBOARD, PM_VISIT, PM_NUM_DARTS, PM_END_MATCH, PM_SELECT_MODE }; extern enum prompt_mode pm; void prompt_handle(char *command, char *data); #endif