comparison libpurple/ntlm.h @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents 98520ee78f12
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
25 */ 25 */
26 26
27 #ifndef _PURPLE_NTLM_H 27 #ifndef _PURPLE_NTLM_H
28 #define _PURPLE_NTLM_H 28 #define _PURPLE_NTLM_H
29 29
30 #ifdef __cplusplus 30 G_BEGIN_DECLS
31 extern "C" {
32 #endif
33 31
34 /** 32 /**
35 * Generates the base64 encoded type 1 message needed for NTLM authentication 33 * Generates the base64 encoded type 1 message needed for NTLM authentication
36 * 34 *
37 * @param hostname Your hostname 35 * @param hostname Your hostname
64 * @return A base64 encoded type3 message. This should be g_free'd by 62 * @return A base64 encoded type3 message. This should be g_free'd by
65 * the caller. 63 * the caller.
66 */ 64 */
67 gchar *purple_ntlm_gen_type3(const gchar *username, const gchar *passw, const gchar *hostname, const gchar *domain, const guint8 *nonce, guint32 *flags); 65 gchar *purple_ntlm_gen_type3(const gchar *username, const gchar *passw, const gchar *hostname, const gchar *domain, const guint8 *nonce, guint32 *flags);
68 66
69 #ifdef __cplusplus 67 G_END_DECLS
70 }
71 #endif
72 68
73 #endif /* _PURPLE_NTLM_H */ 69 #endif /* _PURPLE_NTLM_H */