author | Michal 'vorner' Vaner <vorner@ucw.cz> |
Sat, 08 Sep 2007 13:21:07 +0200 | |
changeset 1305 | 9bc68473f8a3 |
parent 1058 | c0d44a9a99bc |
child 1352 | 61a54e172010 |
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 |
||
1058 | 8 |
inline void hk_message_in(const char *bjid, const char *resname, |
1055
6eb1efea75d0
PGP: Visual encryption flag
Mikael Berthe <mikael@lilotux.net>
parents:
580
diff
changeset
|
9 |
time_t timestamp, const char *msg, const char *type, |
6eb1efea75d0
PGP: Visual encryption flag
Mikael Berthe <mikael@lilotux.net>
parents:
580
diff
changeset
|
10 |
guint encrypted); |
1058 | 11 |
inline void hk_message_out(const char *bjid, const char *nickname, |
1055
6eb1efea75d0
PGP: Visual encryption flag
Mikael Berthe <mikael@lilotux.net>
parents:
580
diff
changeset
|
12 |
time_t timestamp, const char *msg, guint encrypted); |
1058 | 13 |
inline void hk_statuschange(const char *bjid, const char *resname, gchar prio, |
438
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
14 |
time_t timestamp, enum imstatus status, |
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
15 |
char const *status_msg); |
116 | 16 |
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
|
17 |
enum imstatus old_status, |
b44be19d6229
Handle multiple resources for the same buddy
Mikael Berthe <mikael@lilotux.net>
parents:
393
diff
changeset
|
18 |
enum imstatus new_status, const char *msg); |
113 | 19 |
|
281
f562b9af2de7
Add "const" specifier in prototypes
Mikael Berthe <mikael@lilotux.net>
parents:
221
diff
changeset
|
20 |
void hk_ext_cmd_init(const char *command); |
1058 | 21 |
void hk_ext_cmd(const char *bjid, guchar type, guchar info, const char *data); |
160 | 22 |
|
113 | 23 |
#endif /* __HOOKS_H__ */ |
576 | 24 |
|
580 | 25 |
/* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |