diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 13:11:37 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 13:11:37 +0100 |
commit | 720218fea1f3148d104b0fe79f81fcb0f39420da (patch) | |
tree | 4f8f88faf2f4dabb18a99dcb2c1b5dbec040d4b8 /lib | |
parent | 73aa95592f47d461f0246eef1187f5d569aa6afa (diff) |
sasl: Added predefined preferred mechanism values
In preparation for the upcoming changes to IMAP, POP3 and SMTP added
preferred mechanism values.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_sasl.h | 4 |
1 files changed, 4 insertions, 0 deletions
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, |