comparison libpurple/protocols/jabber/caps.h @ 26927:70fdb6fc8aee

Make the JabberCapsTuple (nee Key) available to the rest of the prpl
author Paul Aurich <paul@darkrain42.org>
date Thu, 07 May 2009 23:46:11 +0000
parents bc7fac8e2f79
children d0a049ede31e
comparison
equal deleted inserted replaced
26924:33f98d662db8 26927:70fdb6fc8aee
28 28
29 /* Implementation of XEP-0115 - Entity Capabilities */ 29 /* Implementation of XEP-0115 - Entity Capabilities */
30 30
31 typedef struct _JabberCapsNodeExts JabberCapsNodeExts; 31 typedef struct _JabberCapsNodeExts JabberCapsNodeExts;
32 32
33 typedef struct _JabberCapsTuple {
34 const char *node;
35 const char *ver;
36 const char *hash;
37 } JabberCapsTuple;
38
33 struct _JabberCapsClientInfo { 39 struct _JabberCapsClientInfo {
34 GList *identities; /* JabberIdentity */ 40 GList *identities; /* JabberIdentity */
35 GList *features; /* char * */ 41 GList *features; /* char * */
36 GList *forms; /* xmlnode * */ 42 GList *forms; /* xmlnode * */
37 JabberCapsNodeExts *exts; 43 JabberCapsNodeExts *exts;
44
45 const JabberCapsTuple tuple;
38 }; 46 };
39 47
40 /* 48 /*
41 * This stores a set of exts "known" for a specific node (which indicates 49 * This stores a set of exts "known" for a specific node (which indicates
42 * a specific client -- for reference, Pidgin, Finch, Meebo, et al share one 50 * a specific client -- for reference, Pidgin, Finch, Meebo, et al share one