Releasing version 3-2014010505
[notion/jeffpc.git] / mod_query / complete.h
blob97bfaa2c3eca5450c1a243a1c842c8cdaa426eec
1 /*
2 * ion/mod_query/complete.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_MOD_QUERY_COMPLETE_H
10 #define ION_MOD_QUERY_COMPLETE_H
12 #include <libtu/obj.h>
13 #include <libextl/extl.h>
14 #include <ioncore/common.h>
15 #include "edln.h"
16 #include "wedln.h"
18 INTRCLASS(WComplProxy);
20 DECLCLASS(WComplProxy){
21 Obj o;
22 Watch wedln_watch;
23 int id;
24 int cycle;
28 extern WComplProxy *create_complproxy(WEdln *wedln, int id, int cycle);
30 extern bool complproxy_set_completions(WComplProxy *proxy, ExtlTab compls);
33 extern int edln_do_completions(Edln *edln, char **completions, int ncomp,
34 const char *beg, const char *end,
35 bool setcommon, bool nosort);
36 extern void edln_set_completion(Edln *edln, const char *comp,
37 const char *beg, const char *end);
39 #endif /* ION_MOD_QUERY_COMPLETE_H */