]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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 3881d6189792b263ba377a1f8bc1972b4d39de44..5e2e670dacc0bd2c7a2a33858b526946f94ae6c1 100644 (file)
@@ -439,6 +439,7 @@ static void state(struct connectdata *conn, imapstate newstate)
     "FETCH_FINAL",
     "APPEND",
     "APPEND_FINAL",
+    "SEARCH",
     "LOGOUT",
     /* LAST */
   };
index 95e55bef724b4631fd452c031841bbb3b97216d2..53d202dcc723ac8469596f1763093d402e5126b5 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;