From 8723cade21fbfc811777b893d03192294c2ed85f Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 13 Apr 2013 16:21:58 +0100 Subject: smtp: Added support for ;auth= in the URL Added support for specifying the preferred authentication mechanism in the URL as per Internet-Draft 'draft-earhart-url-smtp-00'. --- lib/smtp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/smtp.h') 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 -- cgit v1.2.3