From: Steve Holme Date: Sat, 13 Apr 2013 12:11:37 +0000 (+0100) Subject: sasl: Added predefined preferred mechanism values X-Git-Tag: curl-7_31_0~179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=720218fea1f3148d104b0fe79f81fcb0f39420da;p=thirdparty%2Fcurl.git sasl: Added predefined preferred mechanism values In preparation for the upcoming changes to IMAP, POP3 and SMTP added preferred mechanism values. --- diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h index 2d207e04ac..0cc8ae3327 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,