2 * ion/mod_query/history.h
4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * See the included file LICENSE for details.
9 #ifndef ION_MOD_QUERY_HISTORY_H
10 #define ION_MOD_QUERY_HISTORY_H
12 #include <ioncore/common.h>
13 #include <libextl/extl.h>
15 extern const char *mod_query_history_get(int n);
16 extern bool mod_query_history_push(const char *s);
17 extern void mod_query_history_push_(char *s);
18 extern void mod_query_history_clear();
19 extern int mod_query_history_search(const char *s, int from, bool bwd,
21 extern uint mod_query_history_complete(const char *s, char ***h_ret);
22 extern ExtlTab mod_query_history_table();
24 #endif /* ION_MOD_QUERY_HISTORY_H */