• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef CLI_H
2 #define CLI_H
3 
4 #define MAX_CMD_HISTORY 64
5 #define COMMAND_DELIM		" \t\n"	// Whitespace delimiters
6 #define MAX_COMMAND_ARGS	40
7 
8 struct cli_command {
9     struct list_head list;
10     char *command;
11 };
12 
13 extern void clear_screen(void);
14 extern int mygetkey(clock_t timeout);
15 extern const char *edit_cmdline(const char *input, int top /*, int width */ ,
16 				int (*pDraw_Menu) (int, int, int),
17 				void (*show_fkey) (int), bool *);
18 
19 extern struct menu *root_menu, *start_menu, *hide_menu, *menu_list, *default_menu;
20 #endif
21