comparison libpurple/protocols/jabber/caps.h @ 25580:4c97156431b4

* pass hash type to the caps handling functions * fix small bug in generation of caps hash * removed a bit debugging output
author Tobias Markmann <tfar@soc.pidgin.im>
date Tue, 01 Jul 2008 23:16:15 +0000
parents a5e437b7f915
children fd19927e2b64
comparison
equal deleted inserted replaced
25579:a5e437b7f915 25580:4c97156431b4
43 43
44 typedef void (*jabber_caps_get_info_cb)(JabberCapsClientInfo *info, gpointer user_data); 44 typedef void (*jabber_caps_get_info_cb)(JabberCapsClientInfo *info, gpointer user_data);
45 45
46 void jabber_caps_init(void); 46 void jabber_caps_init(void);
47 47
48 void jabber_caps_get_info(JabberStream *js, const char *who, const char *node, const char *ver, const char *ext, jabber_caps_get_info_cb cb, gpointer user_data); 48 /**
49 * Main entity capabilites function to get the capabilities of a contact.
50 */
51 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);
49 void jabber_caps_free_clientinfo(JabberCapsClientInfo *clientinfo); 52 void jabber_caps_free_clientinfo(JabberCapsClientInfo *clientinfo);
50 53
51 /** 54 /**
52 * Processes a query-node and returns a JabberCapsClientInfo object with all relevant info. 55 * Processes a query-node and returns a JabberCapsClientInfo object with all relevant info.
53 * 56 *