aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r--camel/providers/imap/camel-imap-store.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h
index e1bdc86a9c..b8bb19f31c 100644
--- a/camel/providers/imap/camel-imap-store.h
+++ b/camel/providers/imap/camel-imap-store.h
@@ -40,24 +40,29 @@ extern "C" {
#define CAMEL_IMAP_STORE_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_IMAP_STORE_TYPE, CamelImapStoreClass))
#define IS_CAMEL_IMAP_STORE(o) (GTK_CHECK_TYPE((o), CAMEL_IMAP_STORE_TYPE))
+typedef enum {
+ IMAP_LEVEL_UNKNOWN,
+ IMAP_LEVEL_IMAP4,
+ IMAP_LEVEL_IMAP4REV1
+} CamelImapServerLevel;
typedef struct {
CamelStore parent_object;
-
+
CamelFolder *current_folder;
CamelStream *istream, *ostream;
guint32 command;
-
- gboolean has_search_capability;
-
+
+ CamelImapServerLevel server_level;
+ gboolean has_status_capability;
+
gchar *dir_sep;
-
+
guint timeout_id;
} CamelImapStore;
-
typedef struct {
CamelStoreClass parent_class;