Mercurial > pidgin
diff libpurple/protocols/jabber/auth_scram.h @ 28711:65a34cce02e3
jabber: Fix up the remaining issues and add a test case that interoperates with gsasl. Woot.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 17 Nov 2009 19:39:36 +0000 |
parents | b0fb53868142 |
children | 464d022d7d6e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth_scram.h Tue Nov 17 19:23:05 2009 +0000 +++ b/libpurple/protocols/jabber/auth_scram.h Tue Nov 17 19:39:36 2009 +0000 @@ -81,4 +81,14 @@ gboolean jabber_scram_calc_proofs(JabberScramData *data, GString *salt, guint iterations); +/** + * Feed the algorithm with the data from the server. + */ +gboolean jabber_scram_feed_parser(JabberScramData *data, gchar *in, gchar **out); + +/** + * Clean up and destroy the data struct + */ +void jabber_scram_data_destroy(JabberScramData *data); + #endif /* PURPLE_JABBER_AUTH_SCRAM_H_ */