[evolution-data-server/gnome-2-30] Detect CONDSTORE and QRESYNC capabilities



commit 8b940c67864de2d342e438e0b4d7c07670fc4bec
Author: David Woodhouse <David Woodhouse intel com>
Date:   Thu Jun 17 11:37:34 2010 +0100

    Detect CONDSTORE and QRESYNC capabilities
    
    I have plans for these...
    (cherry picked from commit cf8f84cbaeea6c05f6c1975ecc36a7b80ef4b1e0)

 camel/providers/imapx/camel-imapx-utils.c |    2 ++
 camel/providers/imapx/camel-imapx-utils.h |    4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-utils.c b/camel/providers/imapx/camel-imapx-utils.c
index 96e30e0..af24e34 100644
--- a/camel/providers/imapx/camel-imapx-utils.c
+++ b/camel/providers/imapx/camel-imapx-utils.c
@@ -389,6 +389,8 @@ struct {
 	{ "LITERAL+", IMAPX_CAPABILITY_LITERALPLUS },
 	{ "STARTTLS", IMAPX_CAPABILITY_STARTTLS },
 	{ "IDLE", IMAPX_CAPABILITY_IDLE },
+	{ "CONDSTORE", IMAPX_CAPABILITY_CONDSTORE },
+	{ "QRESYNC", IMAPX_CAPABILITY_QRESYNC },
 };
 
 struct _capability_info *
diff --git a/camel/providers/imapx/camel-imapx-utils.h b/camel/providers/imapx/camel-imapx-utils.h
index cc73d9f..97a437e 100644
--- a/camel/providers/imapx/camel-imapx-utils.h
+++ b/camel/providers/imapx/camel-imapx-utils.h
@@ -77,8 +77,10 @@ enum {
 	IMAPX_CAPABILITY_NAMESPACE		= (1 << 3),
 	IMAPX_CAPABILITY_UIDPLUS		= (1 << 4),
 	IMAPX_CAPABILITY_LITERALPLUS		= (1 << 5),
-	IMAPX_CAPABILITY_STARTTLS                = (1 << 6),
+	IMAPX_CAPABILITY_STARTTLS		= (1 << 6),
 	IMAPX_CAPABILITY_IDLE			= (1 << 7),
+	IMAPX_CAPABILITY_CONDSTORE		= (1 << 8),
+	IMAPX_CAPABILITY_QRESYNC		= (1 << 9),
 };
 
 struct _capability_info {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]