aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/cli.h')
-rw-r--r--com32/include/cli.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/com32/include/cli.h b/com32/include/cli.h
new file mode 100644
index 00000000..513c1719
--- /dev/null
+++ b/com32/include/cli.h
@@ -0,0 +1,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