author | Mikael Berthe <mikael@lilotux.net> |
Wed, 06 Jul 2005 22:18:05 +0100 | |
changeset 281 | f562b9af2de7 |
parent 221 | 73f6ce668ba8 |
child 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 |
||
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__ */ |