Logo Search packages:      
Sourcecode: ion3 version File versions

complete.h

/*
 * ion/mod_query/complete.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2006. 
 *
 * Ion is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 */

#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);
extern void edln_set_completion(Edln *edln, const char *comp, 
                                const char *beg, const char *end);

#endif /* ION_MOD_QUERY_COMPLETE_H */

Generated by  Doxygen 1.6.0   Back to index