94
|
1 #ifndef __COMPL_H__
|
|
2 #define __COMPL_H__ 1
|
|
3
|
|
4 #include <glib.h>
|
|
5
|
103
|
6 #define COMPL_CMD 1
|
94
|
7 #define COMPL_JID 2 // Not implemented yet
|
|
8 #define COMPL_URLJID 4 // Not implemented yet
|
|
9 #define COMPL_NAME 8 // Not implemented yet
|
103
|
10 #define COMPL_STATUS 16
|
94
|
11 #define COMPL_FILENAME 32 // Not implemented yet
|
103
|
12 #define COMPL_ROSTER 64
|
127
|
13 #define COMPL_GROUP 128
|
94
|
14
|
98
|
15 void compl_add_category_word(guint, const char *command);
|
|
16 GSList *compl_get_category_list(guint cat_flags);
|
94
|
17
|
98
|
18 void new_completion(char *prefix, GSList *compl_cat);
|
|
19 void done_completion(void);
|
|
20 guint cancel_completion(void);
|
94
|
21 const char *complete(void);
|
|
22
|
|
23 #endif /* __COMPL_H__ */
|