author | Mikael Berthe <mikael@lilotux.net> |
Sat, 16 Jul 2005 13:27:00 +0100 | |
changeset 325 | ff6fb51bfd78 |
parent 318 | 45076d02eeef |
child 364 | 33b8e801ffa6 |
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 |
||
325
ff6fb51bfd78
Handle "error" message type
Mikael Berthe <mikael@lilotux.net>
parents:
318
diff
changeset
|
8 |
inline void hk_message_in(const char *jid, time_t timestamp, const char *msg, |
ff6fb51bfd78
Handle "error" message type
Mikael Berthe <mikael@lilotux.net>
parents:
318
diff
changeset
|
9 |
const char *type); |
113 | 10 |
inline void hk_message_out(const char *jid, time_t timestamp, const char *msg); |
11 |
inline void hk_statuschange(const char *jid, time_t timestamp, |
|
221 | 12 |
enum imstatus status, char const *status_msg); |
116 | 13 |
inline void hk_mystatuschange(time_t timestamp, |
318
45076d02eeef
The /status command can specify a status message
Mikael Berthe <mikael@lilotux.net>
parents:
281
diff
changeset
|
14 |
enum imstatus old_status, enum imstatus new_status, const char *msg); |
113 | 15 |
|
281
f562b9af2de7
Add "const" specifier in prototypes
Mikael Berthe <mikael@lilotux.net>
parents:
221
diff
changeset
|
16 |
void hk_ext_cmd_init(const char *command); |
160 | 17 |
void hk_ext_cmd(const char *jid, guchar type, guchar info, const char *data); |
18 |
||
113 | 19 |
#endif /* __HOOKS_H__ */ |