From 720218fea1f3148d104b0fe79f81fcb0f39420da Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 13 Apr 2013 13:11:37 +0100 Subject: sasl: Added predefined preferred mechanism values In preparation for the upcoming changes to IMAP, POP3 and SMTP added preferred mechanism values. --- lib/curl_sasl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/curl_sasl.h') diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 2d207e04a..0cc8ae332 100644 --- a/lib/curl_sasl.h +++ b/lib/curl_sasl.h @@ -33,6 +33,10 @@ #define SASL_MECH_EXTERNAL 0x0020 #define SASL_MECH_NTLM 0x0040 +/* Authentication mechanism values */ +#define SASL_AUTH_NONE 0 +#define SASL_AUTH_ANY ~0 + /* This is used to generate a base64 encoded PLAIN authentication message */ CURLcode Curl_sasl_create_plain_message(struct SessionHandle *data, const char *userp, -- cgit v1.2.3