2 * ion/mod_query/complete.h
4 * Copyright (c) Tuomo Valkonen 1999-2007.
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_COMPLETE_H
13 #define ION_MOD_QUERY_COMPLETE_H
15 #include <libtu/obj.h>
16 #include <libextl/extl.h>
17 #include <ioncore/common.h>
21 INTRCLASS(WComplProxy);
23 DECLCLASS(WComplProxy){
31 extern WComplProxy *create_complproxy(WEdln *wedln, int id, int cycle);
33 extern bool complproxy_set_completions(WComplProxy *proxy, ExtlTab compls);
36 extern int edln_do_completions(Edln *edln, char **completions, int ncomp,
37 const char *beg, const char *end,
38 bool setcommon, bool nosort);
39 extern void edln_set_completion(Edln *edln, const char *comp,
40 const char *beg, const char *end);
42 #endif /* ION_MOD_QUERY_COMPLETE_H */