diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-04-18 15:43:04 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-04-18 15:32:13 +0100 |
commit | f804378d16bba22bc22afebb6ffe1858cfd9edf6 (patch) | |
tree | b7735af46cb3b5428f98ac30d003fc13782dce76 /lib | |
parent | 2c6b41e98a566486877938cfeaba4c946388485a (diff) |
imap: Introduced the SEARCH state
Diffstat (limited to 'lib')
-rw-r--r-- | lib/imap.c | 1 | ||||
-rw-r--r-- | lib/imap.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c index 3881d6189..5e2e670da 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -439,6 +439,7 @@ static void state(struct connectdata *conn, imapstate newstate) "FETCH_FINAL", "APPEND", "APPEND_FINAL", + "SEARCH", "LOGOUT", /* LAST */ }; diff --git a/lib/imap.h b/lib/imap.h index 95e55bef7..53d202dcc 100644 --- a/lib/imap.h +++ b/lib/imap.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2009 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2009 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -53,6 +53,7 @@ typedef enum { IMAP_FETCH_FINAL, IMAP_APPEND, IMAP_APPEND_FINAL, + IMAP_SEARCH, IMAP_LOGOUT, IMAP_LAST /* never used */ } imapstate; |