summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-06-08 19:52:28 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-06-08 19:52:28 +0100
commit0cd8c287a46420768a5b11406638316f859a4873 (patch)
tree27c0468f313ba521ec4643e3f2ed829f34bca3a9 /lib/curl_sasl.h
parenteeeba1496cbcac7aaffdd9355270d61582e98d3a (diff)
downloadcurl-0cd8c287a46420768a5b11406638316f859a4873.tar.gz
sasl: Re-factored mechanism constants in preparation for APOP work
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 314f6c8ab..469c9a1e4 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -25,13 +25,13 @@
#include "pingpong.h"
/* Authentication mechanism flags */
-#define SASL_AUTH_LOGIN 0x0001
-#define SASL_AUTH_PLAIN 0x0002
-#define SASL_AUTH_CRAM_MD5 0x0004
-#define SASL_AUTH_DIGEST_MD5 0x0008
-#define SASL_AUTH_GSSAPI 0x0010
-#define SASL_AUTH_EXTERNAL 0x0020
-#define SASL_AUTH_NTLM 0x0040
+#define SASL_MECH_LOGIN 0x0001
+#define SASL_MECH_PLAIN 0x0002
+#define SASL_MECH_CRAM_MD5 0x0004
+#define SASL_MECH_DIGEST_MD5 0x0008
+#define SASL_MECH_GSSAPI 0x0010
+#define SASL_MECH_EXTERNAL 0x0020
+#define SASL_MECH_NTLM 0x0040
/* This is used to generate a base64 encoded PLAIN authentication message */
CURLcode Curl_sasl_create_plain_message(struct SessionHandle *data,