From f804378d16bba22bc22afebb6ffe1858cfd9edf6 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 18 Apr 2014 15:43:04 +0100 Subject: [PATCH] imap: Introduced the SEARCH state --- lib/imap.c | 1 + lib/imap.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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, , et al. + * Copyright (C) 2009 - 2014, Daniel Stenberg, , 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;