]> granicus.if.org Git - curl/commitdiff
sasl: Added predefined preferred mechanism values
authorSteve Holme <steve_holme@hotmail.com>
Sat, 13 Apr 2013 12:11:37 +0000 (13:11 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 13 Apr 2013 12:11:37 +0000 (13:11 +0100)
In preparation for the upcoming changes to IMAP, POP3 and SMTP added
preferred mechanism values.

lib/curl_sasl.h

index 2d207e04acf2a8427514d29faaa56a3cc43f93bd..0cc8ae332775b2e62eda7fe8b3edf7fd096751f2 100644 (file)
 #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,