sasl: Moved login authentication message creation from smtp.c
Moved the login message creation from smtp.c into the sasl module to allow for use by other modules such as pop3.
This commit is contained in:
@@ -33,10 +33,16 @@
|
||||
#define SASL_AUTH_EXTERNAL 0x0020
|
||||
#define SASL_AUTH_NTLM 0x0040
|
||||
|
||||
/* This is 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,
|
||||
const char* userp,
|
||||
const char* passwdp,
|
||||
char **outptr, size_t *outlen);
|
||||
|
||||
/* This is used to generate a base64 encoded login authentication message
|
||||
containing either the user name or password details */
|
||||
CURLcode Curl_sasl_create_login_message(struct SessionHandle *data,
|
||||
const char* valuep, char **outptr,
|
||||
size_t *outlen);
|
||||
|
||||
#endif /* HEADER_CURL_SASL_H */
|
||||
|
||||
Reference in New Issue
Block a user