2 * ion/mod_query/history.h
4 * Copyright (c) Tuomo Valkonen 1999-2005.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_MOD_QUERY_HISTORY_H
13 #define ION_MOD_QUERY_HISTORY_H
15 #include <ioncore/common.h>
16 #include <libextl/extl.h>
18 extern const char *mod_query_history_get(int n
);
19 extern bool mod_query_history_push(const char *s
);
20 extern void mod_query_history_push_(char *s
);
21 extern void mod_query_history_clear();
22 extern int mod_query_history_search(const char *s
, int from
, bool bwd
);
23 extern ExtlTab
mod_query_history_table();
25 #endif /* ION_MOD_QUERY_HISTORY_H */