Detect CONDSTORE and QRESYNC capabilities
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 17 Jun 2010 10:37:34 +0000 (11:37 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 23 Jun 2010 22:52:25 +0000 (23:52 +0100)
I have plans for these...

camel/providers/imapx/camel-imapx-utils.c
camel/providers/imapx/camel-imapx-utils.h

index 8ce6d48..bc0163f 100644 (file)
@@ -390,6 +390,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 *
index 91b9761..cf0de57 100644 (file)
@@ -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 {