2 * ion/mod_query/complete.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
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>
18 INTRCLASS(WComplProxy
);
20 DECLCLASS(WComplProxy
){
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 */