diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 16:21:58 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 16:23:00 +0100 |
commit | 8723cade21fbfc811777b893d03192294c2ed85f (patch) | |
tree | f3d539b0893a640a0561af8b7764c52ea2dd155a /lib/smtp.h | |
parent | d956d9db47f520535438919abc21f4ad043b26c1 (diff) | |
download | curl-8723cade21fbfc811777b893d03192294c2ed85f.tar.gz |
smtp: Added support for ;auth=<mech> in the URL
Added support for specifying the preferred authentication mechanism in
the URL as per Internet-Draft 'draft-earhart-url-smtp-00'.
Diffstat (limited to 'lib/smtp.h')
-rw-r--r-- | lib/smtp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smtp.h b/lib/smtp.h index a4749b3cf..ed704abd6 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -72,6 +72,7 @@ struct smtp_conn { size_t eob; /* Number of bytes of the EOB (End Of Body) that have been received so far */ unsigned int authmechs; /* Accepted authentication mechanisms */ + unsigned int prefmech; /* Preferred authentication mechanism */ unsigned int authused; /* Auth mechanism used for the connection */ bool tls_supported; /* StartTLS capability supported by server */ bool size_supported; /* If server supports SIZE extension according to |