Mercurial > ~mikael > mcabber > hg
annotate mcabber/src/hooks.h @ 298:35cda94e570d
Add /connect and /disconnect commands
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 10 Jul 2005 15:38:45 +0100 |
parents | f562b9af2de7 |
children | 45076d02eeef 33b8e801ffa6 |
rev | line source |
---|---|
113 | 1 #ifndef __HOOKS_H__ |
2 #define __HOOKS_H__ 1 | |
3 | |
4 #include <time.h> | |
5 #include "jabglue.h" | |
6 | |
7 | |
8 inline void hk_message_in(const char *jid, time_t timestamp, const char *msg); | |
9 inline void hk_message_out(const char *jid, time_t timestamp, const char *msg); | |
10 inline void hk_statuschange(const char *jid, time_t timestamp, | |
221 | 11 enum imstatus status, char const *status_msg); |
116 | 12 inline void hk_mystatuschange(time_t timestamp, |
13 enum imstatus old_status, enum imstatus new_status); | |
113 | 14 |
281
f562b9af2de7
Add "const" specifier in prototypes
Mikael Berthe <mikael@lilotux.net>
parents:
221
diff
changeset
|
15 void hk_ext_cmd_init(const char *command); |
160 | 16 void hk_ext_cmd(const char *jid, guchar type, guchar info, const char *data); |
17 | |
113 | 18 #endif /* __HOOKS_H__ */ |