mcabber/src/compl.h
author mikael
Thu, 28 Apr 2005 06:58:47 +0000
changeset 127 0f7ec11efd06
parent 103 93dcc4e15d4a
child 187 4ce9ff808baa
permissions -rw-r--r--
[/trunk] Changeset 140 by mikael * Add /group and /help in completion system (but matching functions are not implemented yet).

#ifndef __COMPL_H__
#define __COMPL_H__ 1

#include <glib.h>

#define COMPL_CMD        1
#define COMPL_JID        2      // Not implemented yet
#define COMPL_URLJID     4      // Not implemented yet
#define COMPL_NAME       8      // Not implemented yet
#define COMPL_STATUS    16
#define COMPL_FILENAME  32      // Not implemented yet
#define COMPL_ROSTER    64
#define COMPL_GROUP    128

void    compl_add_category_word(guint, const char *command);
GSList *compl_get_category_list(guint cat_flags);

void    new_completion(char *prefix, GSList *compl_cat);
void    done_completion(void);
guint   cancel_completion(void);
const char *complete(void);

#endif /* __COMPL_H__ */