aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/modules/cli.h
blob: 513c1719e70993d7b4e6087c069decbbd4aad153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef CLI_H
#define CLI_H

#define MAX_CMD_HISTORY 64
#define COMMAND_DELIM		" \t\n"	// Whitespace delimiters
#define MAX_COMMAND_ARGS	40

struct cli_command {
    struct list_head list;
    char *command;
};

extern void clear_screen(void);
extern int mygetkey(clock_t timeout);
extern const char *edit_cmdline(const char *input, int top /*, int width */ ,
				int (*pDraw_Menu) (int, int, int),
				void (*show_fkey) (int));

extern struct menu *root_menu, *start_menu, *hide_menu, *menu_list, *default_menu;
#endif