view mcabber/src/compl.h @ 233:65c564e957a8

[/trunk] Changeset 246 by mikael * Add Makefile for the doc subdir; manpage will be installed now
author mikael
date Thu, 09 Jun 2005 17:32:30 +0000
parents d5ae42cbe1fa
children 8e30b2bb380e
line wrap: on
line source

#ifndef __COMPL_H__
#define __COMPL_H__ 1

#include <glib.h>

#define COMPL_CMD         1
#define COMPL_JID         2
#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_BUFFER    128
#define COMPL_GROUP     256
#define COMPL_GROUPNAME 512

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__ */