Mercurial > pidgin
diff libpurple/ntlm.h @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Mon, 19 Mar 2007 07:01:17 +0000 |
| parents | 5fe8042783c1 |
| children | 44b4e8bd759b |
line wrap: on
line diff
--- a/libpurple/ntlm.h Mon Mar 19 06:11:46 2007 +0000 +++ b/libpurple/ntlm.h Mon Mar 19 07:01:17 2007 +0000 @@ -1,7 +1,7 @@ /** * @file ntlm.h * - * gaim + * purple * * Copyright (C) 2005, Thomas Butter <butter@uni-mannheim.de> * @@ -23,8 +23,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _GAIM_NTLM_H -#define _GAIM_NTLM_H +#ifndef _PURPLE_NTLM_H +#define _PURPLE_NTLM_H #ifdef __cplusplus extern "C" { @@ -38,7 +38,7 @@ * @return base64 encoded string to send to the server. This should * be g_free'd by the caller. */ -gchar *gaim_ntlm_gen_type1(const gchar *hostname, const gchar *domain); +gchar *purple_ntlm_gen_type1(const gchar *hostname, const gchar *domain); /** * Parses the ntlm type 2 message @@ -49,7 +49,7 @@ * @return The nonce for use in message type3. This is a statically * allocated 8 byte binary string. */ -guint8 *gaim_ntlm_parse_type2(const gchar *type2, guint32 *flags); +guint8 *purple_ntlm_parse_type2(const gchar *type2, guint32 *flags); /** * Generates a type3 message @@ -58,15 +58,15 @@ * @param passw The password * @param hostname The hostname * @param domain The domain to authenticate against - * @param nonce The nonce returned by gaim_ntlm_parse_type2 - * @param flags Pointer to the flags returned by gaim_ntlm_parse_type2 + * @param nonce The nonce returned by purple_ntlm_parse_type2 + * @param flags Pointer to the flags returned by purple_ntlm_parse_type2 * @return A base64 encoded type3 message. This should be g_free'd by * the caller. */ -gchar *gaim_ntlm_gen_type3(const gchar *username, const gchar *passw, const gchar *hostname, const gchar *domain, const guint8 *nonce, guint32 *flags); +gchar *purple_ntlm_gen_type3(const gchar *username, const gchar *passw, const gchar *hostname, const gchar *domain, const guint8 *nonce, guint32 *flags); #ifdef __cplusplus } #endif -#endif /* _GAIM_NTLM_H */ +#endif /* _PURPLE_NTLM_H */
