libpurple/protocols/jabber/auth_scram.h

branch
soc.2013.gobjectification
changeset 34567
ea5103f66b0e
parent 34556
087db73b115d
child 35026
fde23518e1e5
equal deleted inserted replaced
34566:e0f887dee077 34567:ea5103f66b0e
27 /* 27 /*
28 * Every function in this file is ONLY exposed for tests. 28 * Every function in this file is ONLY exposed for tests.
29 * DO NOT USE ANYTHING HERE OR YOU WILL BE SENT TO THE PIT OF DESPAIR. 29 * DO NOT USE ANYTHING HERE OR YOU WILL BE SENT TO THE PIT OF DESPAIR.
30 */ 30 */
31 31
32 #include "cipher.h" 32 #include "hash.h"
33 33
34 /* Per-connection state stored between messages. 34 /* Per-connection state stored between messages.
35 * This is stored in js->auth_data_mech. 35 * This is stored in js->auth_data_mech.
36 */ 36 */
37 typedef struct { 37 typedef struct {
38 const char *mech_substr; 38 const char *mech_substr;
39 PurpleCipher *(*new_cipher)(void); 39 PurpleHash *(*new_cipher)(void);
40 guint size; 40 guint size;
41 } JabberScramHash; 41 } JabberScramHash;
42 42
43 typedef struct { 43 typedef struct {
44 const JabberScramHash *hash; 44 const JabberScramHash *hash;

mercurial