File: complete.h

package info (click to toggle)
notion 4.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,656 kB
  • sloc: ansic: 47,365; sh: 2,093; makefile: 594; perl: 270
file content (39 lines) | stat: -rw-r--r-- 947 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * ion/mod_query/complete.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2007.
 *
 * See the included file LICENSE for details.
 */

#ifndef ION_MOD_QUERY_COMPLETE_H
#define ION_MOD_QUERY_COMPLETE_H

#include <libtu/obj.h>
#include <libextl/extl.h>
#include <ioncore/common.h>
#include "edln.h"
#include "wedln.h"

INTRCLASS(WComplProxy);

DECLCLASS(WComplProxy){
    Obj o;
    Watch wedln_watch;
    int id;
    int cycle;
};


extern WComplProxy *create_complproxy(WEdln *wedln, int id, int cycle);

extern bool complproxy_set_completions(WComplProxy *proxy, ExtlTab compls);


extern int edln_do_completions(Edln *edln, char **completions, int ncomp,
                               const char *beg, const char *end,
                               bool setcommon, bool nosort);
extern void edln_set_completion(Edln *edln, const char *comp,
                                const char *beg, const char *end);

#endif /* ION_MOD_QUERY_COMPLETE_H */