author | Mikael Berthe <mikael@lilotux.net> |
Sun, 25 Sep 2005 23:45:34 +0200 | |
changeset 449 | e08b0c2d0e54 |
parent 447 | 03bb57383cea |
child 484 | 00e2d3821a5b |
permissions | -rw-r--r-- |
113 | 1 |
#ifndef __HOOKS_H__ |
2 |
#define __HOOKS_H__ 1 |
|
3 |
||
4 |
#include <time.h> |
|
5 |
#include "jabglue.h" |
|
6 |
||
7 |
||
447
03bb57383cea
Initial Multi-User Chat support
Mikael Berthe <mikael@lilotux.net>
parents:
438
diff
changeset
|
8 |
inline void hk_message_in(const char *jid, const char *resname, |
03bb57383cea
Initial Multi-User Chat support
Mikael Berthe <mikael@lilotux.net>
parents:
438
diff
changeset
|
9 |
time_t timestamp, const char *msg, const char *type); |
113 | 10 |
inline void hk_message_out(const char *jid, time_t timestamp, const char *msg); |
438
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
11 |
inline void hk_statuschange(const char *jid, const char *resname, gchar prio, |
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
12 |
time_t timestamp, enum imstatus status, |
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
13 |
char const *status_msg); |
116 | 14 |
inline void hk_mystatuschange(time_t timestamp, |
438
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
15 |
enum imstatus old_status, |
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
16 |
enum imstatus new_status, const char *msg); |
113 | 17 |
|
281
f562b9af2de7
Add "const" specifier in prototypes
Mikael Berthe <mikael@lilotux.net>
parents:
221
diff
changeset
|
18 |
void hk_ext_cmd_init(const char *command); |
160 | 19 |
void hk_ext_cmd(const char *jid, guchar type, guchar info, const char *data); |
20 |
||
113 | 21 |
#endif /* __HOOKS_H__ */ |