Mercurial > pidgin
diff libpurple/protocols/jabber/caps.h @ 25162:7dcba13d0e28
Move structures and function definitions in to caps.c and stop any other code from killing JabberCapsClientInfo structures (owned by the hash table)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 22 Nov 2008 01:05:42 +0000 |
parents | 30a686c079d5 |
children | 18fdbe507fdd |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/caps.h Sat Nov 22 00:51:16 2008 +0000 +++ b/libpurple/protocols/jabber/caps.h Sat Nov 22 01:05:42 2008 +0000 @@ -39,17 +39,6 @@ typedef struct _JabberCapsClientInfo JabberCapsValueExt; #endif -typedef struct _JabberDataFormField { - gchar *var; - GList *values; -} JabberDataFormField; - -typedef struct _JabberCapsKey { - char *node; - char *ver; - char *hash; -} JabberCapsKey; - typedef void (*jabber_caps_get_info_cb)(JabberCapsClientInfo *info, gpointer user_data); void jabber_caps_init(void); @@ -60,15 +49,6 @@ * Main entity capabilites function to get the capabilities of a contact. */ void jabber_caps_get_info(JabberStream *js, const char *who, const char *node, const char *ver, const char *hash, jabber_caps_get_info_cb cb, gpointer user_data); -void jabber_caps_free_clientinfo(JabberCapsClientInfo *clientinfo); - -/** - * Processes a query-node and returns a JabberCapsClientInfo object with all relevant info. - * - * @param query A query object. - * @return A JabberCapsClientInfo object. - */ -JabberCapsClientInfo *jabber_caps_parse_client_info(xmlnode *query); /** * Takes a JabberCapsClientInfo pointer and returns the caps hash according to