Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hooks.h @ 1058:c0d44a9a99bc
Code cleanup
Cosmetics. Mostly get rid of "jid" variables, as it is a structure pointer
defined in libjabber/jabber.h.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 30 Nov 2006 19:51:09 +0100 |
parents | 6eb1efea75d0 |
children | 61a54e172010 |
comparison
equal
deleted
inserted
replaced
1057:4cdf19d9c74e | 1058:c0d44a9a99bc |
---|---|
3 | 3 |
4 #include <time.h> | 4 #include <time.h> |
5 #include "jabglue.h" | 5 #include "jabglue.h" |
6 | 6 |
7 | 7 |
8 inline void hk_message_in(const char *jid, const char *resname, | 8 inline void hk_message_in(const char *bjid, const char *resname, |
9 time_t timestamp, const char *msg, const char *type, | 9 time_t timestamp, const char *msg, const char *type, |
10 guint encrypted); | 10 guint encrypted); |
11 inline void hk_message_out(const char *jid, const char *nickname, | 11 inline void hk_message_out(const char *bjid, const char *nickname, |
12 time_t timestamp, const char *msg, guint encrypted); | 12 time_t timestamp, const char *msg, guint encrypted); |
13 inline void hk_statuschange(const char *jid, const char *resname, gchar prio, | 13 inline void hk_statuschange(const char *bjid, const char *resname, gchar prio, |
14 time_t timestamp, enum imstatus status, | 14 time_t timestamp, enum imstatus status, |
15 char const *status_msg); | 15 char const *status_msg); |
16 inline void hk_mystatuschange(time_t timestamp, | 16 inline void hk_mystatuschange(time_t timestamp, |
17 enum imstatus old_status, | 17 enum imstatus old_status, |
18 enum imstatus new_status, const char *msg); | 18 enum imstatus new_status, const char *msg); |
19 | 19 |
20 void hk_ext_cmd_init(const char *command); | 20 void hk_ext_cmd_init(const char *command); |
21 void hk_ext_cmd(const char *jid, guchar type, guchar info, const char *data); | 21 void hk_ext_cmd(const char *bjid, guchar type, guchar info, const char *data); |
22 | 22 |
23 #endif /* __HOOKS_H__ */ | 23 #endif /* __HOOKS_H__ */ |
24 | 24 |
25 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ | 25 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |