src/ntlm.h

changeset 13682
cd579ec3f40b
parent 13089
e1ab8bfba211
child 13700
ad7bca3b4240
equal deleted inserted replaced
13681:7218b622ce4e 13682:cd579ec3f40b
31 * 31 *
32 * @param hostname Your hostname 32 * @param hostname Your hostname
33 * @param domain The domain to authenticate to 33 * @param domain The domain to authenticate to
34 * @return base64 encoded string to send to the server. has to be freed with g_free 34 * @return base64 encoded string to send to the server. has to be freed with g_free
35 */ 35 */
36 gchar *gaim_ntlm_gen_type1(gchar *hostname, gchar *domain); 36 gchar *gaim_ntlm_gen_type1(const gchar *hostname, const gchar *domain);
37 37
38 /** 38 /**
39 * Parses the ntlm type 2 message 39 * Parses the ntlm type 2 message
40 * 40 *
41 * @param type2 String containing the base64 encoded type2 message 41 * @param type2 String containing the base64 encoded type2 message
42 * @return The nonce for use in message type3 42 * @return The nonce for use in message type3
43 */ 43 */
44 gchar *gaim_ntlm_parse_type2(gchar *type2, guint32 *flags); 44 gchar *gaim_ntlm_parse_type2(const gchar *type2, guint32 *flags);
45 45
46 /** 46 /**
47 * Generates a type3 message 47 * Generates a type3 message
48 * 48 *
49 * @param username The username 49 * @param username The username

mercurial