summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-05 21:34:53 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-05 21:35:16 +0000
commit041754e3fafdb1f479e7ec90c4363ea0fd2e25cb (patch)
tree97514a46002abc6d4260e02bf0d93a04c1989baf /lib
parentb960f1e8bd7b9549ed5b1aaed104f94dd8a06693 (diff)
downloadcurl-041754e3fafdb1f479e7ec90c4363ea0fd2e25cb.tar.gz
imap: Introduced IMAP_LIST state
Diffstat (limited to 'lib')
-rw-r--r--lib/imap.c1
-rw-r--r--lib/imap.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 9d39cc6d0..4ee6fff71 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -479,6 +479,7 @@ static void state(struct connectdata *conn, imapstate newstate)
"AUTHENTICATE_NTLM_TYPE2MSG",
"AUTHENTICATE_FINAL",
"LOGIN",
+ "LIST",
"SELECT",
"FETCH",
"FETCH_FINAL",
diff --git a/lib/imap.h b/lib/imap.h
index 1ca67fe2b..d290c3bc2 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -45,6 +45,7 @@ typedef enum {
IMAP_AUTHENTICATE_NTLM_TYPE2MSG,
IMAP_AUTHENTICATE_FINAL,
IMAP_LOGIN,
+ IMAP_LIST,
IMAP_SELECT,
IMAP_FETCH,
IMAP_FETCH_FINAL,