Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 30688:116ca888e77d
jabber: Move another function out of caps.c...
Sadly, this one landed in jabber.c (which needs to be split up)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 10 Jul 2010 02:02:21 +0000 |
parents | 552616f49f94 |
children | a5131a257967 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Sat Jul 10 00:59:19 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.h Sat Jul 10 02:02:21 2010 +0000 @@ -303,6 +303,9 @@ /* what kind of additional features as returned from disco#info are supported? */ extern GList *jabber_features; +/* A sorted list of identities advertised. Use jabber_add_identity to add + * so it remains sorted. + */ extern GList *jabber_identities; void jabber_stream_features_parse(JabberStream *js, xmlnode *packet); @@ -342,6 +345,11 @@ void jabber_add_identity(const gchar *category, const gchar *type, const gchar *lang, const gchar *name); /** + * GCompareFunc for JabberIdentity structs. + */ +gint jabber_identity_compare(gconstpointer a, gconstpointer b); + +/** * Returns true if this connection is over a secure (SSL) stream. Use this * instead of checking js->gsc because BOSH stores its PurpleSslConnection * members in its own data structure.