1 #ifndef __COMMAND_HISTORY_H
2 #define __COMMAND_HISTORY_H
10 int lines, over_counter;
15 HISTORY_REC *command_history_find(HISTORY_REC *history);
16 HISTORY_REC *command_history_find_name(const char *name);
18 HISTORY_REC *command_history_current(WINDOW_REC *window);
20 void command_history_init(void);
21 void command_history_deinit(void);
23 void command_history_add(HISTORY_REC *window, const char *text);
25 const char *command_history_prev(WINDOW_REC *window, const char *text);
26 const char *command_history_next(WINDOW_REC *window, const char *text);
28 void command_history_clear_pos(WINDOW_REC *window);
30 HISTORY_REC *command_history_create(const char *name);
31 void command_history_destroy(HISTORY_REC *history);
32 void command_history_link(const char *name);
33 void command_history_unlink(const char *name);