Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp_muc.h @ 1951:1a01a7ef4e43
Add support for XEP-0249 / Direct MUC Invitations (Myhailo Danylenko)
Patch merged from isbear's mcabber-experimental repository.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 14 Mar 2011 12:53:27 +0100 |
parents | e6d355e50d7a |
children | 9f443617e96b |
comparison
equal
deleted
inserted
replaced
1950:aec86670047b | 1951:1a01a7ef4e43 |
---|---|
4 typedef struct { | 4 typedef struct { |
5 char *to; | 5 char *to; |
6 char *from; | 6 char *from; |
7 char *passwd; | 7 char *passwd; |
8 char *reason; | 8 char *reason; |
9 char *evid; | |
10 gboolean reply; | |
9 } event_muc_invitation; | 11 } event_muc_invitation; |
10 | 12 |
11 void destroy_event_muc_invitation(event_muc_invitation *invitation); | 13 void destroy_event_muc_invitation(event_muc_invitation *invitation); |
12 void roompresence(gpointer room, void *presencedata); | 14 void roompresence(gpointer room, void *presencedata); |
15 void got_invite(const char* from, const char *to, const char* reason, | |
16 const char* passwd, gboolean reply); | |
13 void got_muc_message(const char *from, LmMessageNode *x); | 17 void got_muc_message(const char *from, LmMessageNode *x); |
14 void handle_muc_presence(const char *from, LmMessageNode * xmldata, | 18 void handle_muc_presence(const char *from, LmMessageNode * xmldata, |
15 const char *roomjid, const char *rname, | 19 const char *roomjid, const char *rname, |
16 enum imstatus ust, const char *ustmsg, | 20 enum imstatus ust, const char *ustmsg, |
17 time_t usttime, char bpprio); | 21 time_t usttime, char bpprio); |