Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/hooks.h @ 2156:a54c084af4d6
Add a "carbon" parameter to the hook-{pre,post}-message-in hooks
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 04 Oct 2014 20:38:41 +0200 |
parents | e702073612de |
children | ee3a40ffcd8b |
comparison
equal
deleted
inserted
replaced
2155:a053629321ed | 2156:a54c084af4d6 |
---|---|
45 guint hk_run_handlers(const gchar *hookname, hk_arg_t *args); | 45 guint hk_run_handlers(const gchar *hookname, hk_arg_t *args); |
46 #endif | 46 #endif |
47 | 47 |
48 void hk_message_in(const char *bjid, const char *resname, | 48 void hk_message_in(const char *bjid, const char *resname, |
49 time_t timestamp, const char *msg, LmMessageSubType type, | 49 time_t timestamp, const char *msg, LmMessageSubType type, |
50 guint encrypted); | 50 guint encrypted, gboolean carbon); |
51 void hk_message_out(const char *bjid, const char *nickname, | 51 void hk_message_out(const char *bjid, const char *nickname, |
52 time_t timestamp, const char *msg, | 52 time_t timestamp, const char *msg, |
53 guint encrypted, gpointer xep184); | 53 guint encrypted, gpointer xep184); |
54 void hk_statuschange(const char *bjid, const char *resname, gchar prio, | 54 void hk_statuschange(const char *bjid, const char *resname, gchar prio, |
55 time_t timestamp, enum imstatus status, | 55 time_t timestamp, enum imstatus status, |