smtp: Re-factored the SMTP_AUTH* state machine constants
Re-factored the SMTP_AUTH* constants, that are used by the state machine, to be clearer to read.
This commit is contained in:
16
lib/smtp.h
16
lib/smtp.h
@@ -36,14 +36,14 @@ typedef enum {
|
||||
SMTP_STARTTLS,
|
||||
SMTP_UPGRADETLS, /* asynchronously upgrade the connection to SSL/TLS
|
||||
(multi mode only) */
|
||||
SMTP_AUTHPLAIN,
|
||||
SMTP_AUTHLOGIN,
|
||||
SMTP_AUTHPASSWD,
|
||||
SMTP_AUTHCRAMMD5,
|
||||
SMTP_AUTHDIGESTMD5,
|
||||
SMTP_AUTHDIGESTMD5_RESP,
|
||||
SMTP_AUTHNTLM,
|
||||
SMTP_AUTHNTLM_TYPE2MSG,
|
||||
SMTP_AUTH_PLAIN,
|
||||
SMTP_AUTH_LOGIN,
|
||||
SMTP_AUTH_PASSWD,
|
||||
SMTP_AUTH_CRAMMD5,
|
||||
SMTP_AUTH_DIGESTMD5,
|
||||
SMTP_AUTH_DIGESTMD5_RESP,
|
||||
SMTP_AUTH_NTLM,
|
||||
SMTP_AUTH_NTLM_TYPE2MSG,
|
||||
SMTP_AUTH,
|
||||
SMTP_MAIL, /* MAIL FROM */
|
||||
SMTP_RCPT, /* RCPT TO */
|
||||
|
||||
Reference in New Issue
Block a user