libpurple/protocols/jabber/caps.h

changeset 42436
185c0b83e408
parent 42057
f72f1db0f42b
--- a/libpurple/protocols/jabber/caps.h	Thu Oct 26 22:24:08 2023 -0500
+++ b/libpurple/protocols/jabber/caps.h	Thu Oct 26 22:35:00 2023 -0500
@@ -68,6 +68,7 @@
  *	@param hash_type GChecksumType to be used. Either sha-1 or md5.
  *	@return		The base64 encoded SHA-1 hash; must be freed by caller
  */
+PURPLE_XMPP_EXTERN_FOR_TESTS
 gchar *jabber_caps_calculate_hash(JabberCapsClientInfo *info,
                                   GChecksumType hash_type);
 
@@ -95,6 +96,7 @@
  * @param query The 'query' element from an IQ reply stanza.
  * @returns A JabberCapsClientInfo struct, or NULL on error
  */
+PURPLE_XMPP_EXTERN_FOR_TESTS
 JabberCapsClientInfo *jabber_caps_parse_client_info(PurpleXmlNode *query);
 
 /**
@@ -105,6 +107,7 @@
  *
  * @param info The info object to free.
  */
+PURPLE_XMPP_EXTERN_FOR_TESTS
 void jabber_caps_client_info_destroy(JabberCapsClientInfo *info);
 
 #endif /* PURPLE_JABBER_CAPS_H */

mercurial