Mercurial > pidgin
diff libpurple/protocols/jabber/buddy.h @ 25189:05693f6885a4
Support old (XEP v1.3) Entity Capabilities alongside the new ones.
The ext structures from v1.3 are stored in a ref-counted structure that
is shared among all instances of the ClientInfo that share the same 'node'
(unique per client). exts are only used for v1.3-entity capabilities
clients and are not shared with caps that specify the 'hash' attribute
(required in v1.5).
The jabber_caps_cbplususerdata is also ref-counted and will never leak,
even if some disco#info responses from a client return errors.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 19 Dec 2008 04:11:07 +0000 |
parents | 6bdcdb77ce77 |
children | bc7fac8e2f79 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.h Wed Dec 17 04:33:00 2008 +0000 +++ b/libpurple/protocols/jabber/buddy.h Fri Dec 19 04:11:07 2008 +0000 @@ -81,7 +81,10 @@ char *name; char *os; } client; - JabberCapsClientInfo *caps; + struct { + JabberCapsClientInfo *info; + GList *exts; + } caps; GList *commands; } JabberBuddyResource;