summaryrefslogtreecommitdiff
path: root/lib/imap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/imap.h')
-rw-r--r--lib/imap.h3
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 */