| 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 |