imported.
[crypto.git] / apps / irssi / src / fe-common / core / command-history.h
1 #ifndef __COMMAND_HISTORY_H
2 #define __COMMAND_HISTORY_H
3
4 #include "fe-windows.h"
5
6 void command_history_init(void);
7 void command_history_deinit(void);
8
9 void command_history_add(WINDOW_REC *window, const char *text, int prepend);
10
11 const char *command_history_prev(WINDOW_REC *window, const char *text);
12 const char *command_history_next(WINDOW_REC *window, const char *text);
13
14 void command_history_clear_pos(WINDOW_REC *window);
15
16 #endif