libpurple/protocols/jabber/caps.h

branch
soc.2013.gobjectification
changeset 34556
087db73b115d
parent 30507
10c522a4c93a
child 34567
ea5103f66b0e
--- a/libpurple/protocols/jabber/caps.h	Sat Jun 15 01:57:14 2013 +0530
+++ b/libpurple/protocols/jabber/caps.h	Sat Jun 15 14:28:31 2013 +0530
@@ -27,6 +27,7 @@
 typedef struct _JabberCapsClientInfo JabberCapsClientInfo;
 
 #include "jabber.h"
+#include "cipher.h"
 
 /* Implementation of XEP-0115 - Entity Capabilities */
 
@@ -98,7 +99,7 @@
  *	@param hash Hash cipher to be used. Either sha-1 or md5.
  *	@return		The base64 encoded SHA-1 hash; must be freed by caller
  */
-gchar *jabber_caps_calculate_hash(JabberCapsClientInfo *info, const char *hash);
+gchar *jabber_caps_calculate_hash(JabberCapsClientInfo *info, PurpleCipher *hash);
 
 /**
  *  Calculate SHA1 hash for own featureset.

mercurial