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