diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-01-06 22:25:14 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-01-06 22:25:14 +0000 |
commit | cfb6f03224297750164c5bafeb5b3e59866fca50 (patch) | |
tree | 718fac3f12f968b3a155902a55344c3b5e225223 /lib/imap.h | |
parent | 11f55a9672d3b5d3eaa5d15d5a67618fb640c153 (diff) | |
download | curl-cfb6f03224297750164c5bafeb5b3e59866fca50.tar.gz |
imap: Added support for sasl plain text authentication
Diffstat (limited to 'lib/imap.h')
-rw-r--r-- | lib/imap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/imap.h b/lib/imap.h index 60cb0465a..896f35ad4 100644 --- a/lib/imap.h +++ b/lib/imap.h @@ -35,6 +35,8 @@ typedef enum { IMAP_UPGRADETLS, /* asynchronously upgrade the connection to SSL/TLS (multi mode only) */ IMAP_CAPABILITY, + IMAP_AUTHENTICATE_PLAIN, + IMAP_AUTHENTICATE, IMAP_LOGIN, IMAP_SELECT, IMAP_FETCH, @@ -48,6 +50,7 @@ struct imap_conn { struct pingpong pp; char *mailbox; /* Message ID to fetch */ unsigned int authmechs; /* Accepted authentication mechanisms */ + unsigned int authused; /* Auth mechanism used for the connection */ imapstate state; /* Always use imap.c:state() to change state! */ int cmdid; /* Next command ID */ const char *idstr; /* String based response ID to wait for */ |