summaryrefslogtreecommitdiff
path: root/lib/imap.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-13 15:58:15 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-13 16:11:27 +0100
commit00045a300960e5d48183e5d14d883bfa4295af63 (patch)
treecaaed44f43a88453c3f0a57f590d9e3922126061 /lib/imap.h
parent3f7188dd9479f8f4f1ca114f88764265b85bed66 (diff)
downloadcurl-00045a300960e5d48183e5d14d883bfa4295af63.tar.gz
imap: Added support for ;auth=<mech> in the URL
Added support for specifying the preferred authentication mechanism in the URL as per RFC-5092.
Diffstat (limited to 'lib/imap.h')
-rw-r--r--lib/imap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/imap.h b/lib/imap.h
index caf400d7a..bc0a83d48 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -76,6 +76,7 @@ struct imap_conn {
imapstate state; /* Always use imap.c:state() to change state! */
bool ssldone; /* Is connect() over SSL done? */
unsigned int authmechs; /* Accepted authentication mechanisms */
+ unsigned int prefmech; /* Preferred authentication mechanism */
unsigned int authused; /* Auth mechanism used for the connection */
int cmdid; /* Last used command ID */
char resptag[5]; /* Response tag to wait for */