imap: Introduced the SEARCH state
authorSteve Holme <steve_holme@hotmail.com>
Fri, 18 Apr 2014 14:43:04 +0000 (15:43 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 18 Apr 2014 14:32:13 +0000 (15:32 +0100)
lib/imap.c
lib/imap.h

index 3881d61..5e2e670 100644 (file)
@@ -439,6 +439,7 @@ static void state(struct connectdata *conn, imapstate newstate)
     "FETCH_FINAL",
     "APPEND",
     "APPEND_FINAL",
+    "SEARCH",
     "LOGOUT",
     /* LAST */
   };
index 95e55be..53d202d 100644 (file)
@@ -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;