Mercurial > ~mikael > mcabber > hg
annotate mcabber/src/compl.h @ 113:8ac67e951eab
[/trunk] Changeset 127 by mikael
* Add a "hooks" layer.
Hooks are used when multiples operations should be done when an event
araises. For example message in/out, status change...
2 more files; Makefile updated.
* Logging is ready.
* Add 2 options:
- "logging" (bool): enable/disable history logging
- "logging_dir" (char): root dir for logging files
* Document pinginterval (keepalive) in the sample config file.
* Send keepalive only when online.
author | mikael |
---|---|
date | Sun, 24 Apr 2005 20:24:18 +0000 |
parents | 93dcc4e15d4a |
children | 0f7ec11efd06 |
rev | line source |
---|---|
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 |
94 | 13 |
98 | 14 void compl_add_category_word(guint, const char *command); |
15 GSList *compl_get_category_list(guint cat_flags); | |
94 | 16 |
98 | 17 void new_completion(char *prefix, GSList *compl_cat); |
18 void done_completion(void); | |
19 guint cancel_completion(void); | |
94 | 20 const char *complete(void); |
21 | |
22 #endif /* __COMPL_H__ */ |