]> git.decadent.org.uk Git - ion3.git/blob - mod_query/history.h
Imported Upstream version 20090110
[ion3.git] / mod_query / history.h
1 /*
2  * ion/mod_query/history.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_MOD_QUERY_HISTORY_H
10 #define ION_MOD_QUERY_HISTORY_H
11
12 #include <ioncore/common.h>
13 #include <libextl/extl.h>
14
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, 
20                                     bool exact);
21 extern uint mod_query_history_complete(const char *s, char ***h_ret);
22 extern ExtlTab mod_query_history_table();
23
24 #endif /* ION_MOD_QUERY_HISTORY_H */