aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Hruska <jirka@fud.cz>2013-03-01 20:04:56 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-03-02 19:06:35 +0000
commit1383522e3a524fb57b07577e42e6777ca16f3f93 (patch)
tree9393e4d7f211869e3a8d83db59e4de6ebe554f54
parentd46d107e0cc421f74e1ed632b14cc72c2ffb2c14 (diff)
imap: Introduced IMAP_APPEND and IMAP_APPEND_FINAL states
-rw-r--r--lib/imap.c2
-rw-r--r--lib/imap.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/imap.c b/lib/imap.c
index dcc6d6b6e..770b90dc7 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -468,6 +468,8 @@ static void state(struct connectdata *conn, imapstate newstate)
"SELECT",
"FETCH",
"FETCH_FINAL",
+ "APPEND",
+ "APPEND_FINAL",
"LOGOUT",
/* LAST */
};
diff --git a/lib/imap.h b/lib/imap.h
index af12130bd..c124703bb 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -48,6 +48,8 @@ typedef enum {
IMAP_SELECT,
IMAP_FETCH,
IMAP_FETCH_FINAL,
+ IMAP_APPEND,
+ IMAP_APPEND_FINAL,
IMAP_LOGOUT,
IMAP_LAST /* never used */
} imapstate;