mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
sasl: Added predefined preferred mechanism values
In preparation for the upcoming changes to IMAP, POP3 and SMTP added preferred mechanism values.
This commit is contained in:
parent
73aa95592f
commit
720218fea1
@ -33,6 +33,10 @@
|
|||||||
#define SASL_MECH_EXTERNAL 0x0020
|
#define SASL_MECH_EXTERNAL 0x0020
|
||||||
#define SASL_MECH_NTLM 0x0040
|
#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 */
|
/* This is used to generate a base64 encoded PLAIN authentication message */
|
||||||
CURLcode Curl_sasl_create_plain_message(struct SessionHandle *data,
|
CURLcode Curl_sasl_create_plain_message(struct SessionHandle *data,
|
||||||
const char *userp,
|
const char *userp,
|
||||||
|
Loading…
Reference in New Issue
Block a user