]> git.decadent.org.uk Git - ion3.git/blob - mod_query/history.h
f27be88387bbb40c68f716ffbd81528d1e2ace56
[ion3.git] / mod_query / history.h
1 /*
2  * ion/mod_query/history.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
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.
10  */
11
12 #ifndef ION_MOD_QUERY_HISTORY_H
13 #define ION_MOD_QUERY_HISTORY_H
14
15 #include <ioncore/common.h>
16 #include <libextl/extl.h>
17
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                                     bool exact);
24 extern uint mod_query_history_complete(const char *s, char ***h_ret);
25 extern ExtlTab mod_query_history_table();
26
27 #endif /* ION_MOD_QUERY_HISTORY_H */