diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 15:58:15 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-13 16:11:27 +0100 |
commit | 00045a300960e5d48183e5d14d883bfa4295af63 (patch) | |
tree | caaed44f43a88453c3f0a57f590d9e3922126061 /lib/imap.h | |
parent | 3f7188dd9479f8f4f1ca114f88764265b85bed66 (diff) | |
download | curl-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.h | 1 |
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 */ |