aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-08-15 14:17:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-08-15 14:17:09 +0800
commit7dc4b13d477ea40930d0edf717b04fae4e558232 (patch)
tree89ed2c6ecba0350b79e9f80ed7db1a39b27a958a /camel/providers/imap/camel-imap-store.h
parent3e208eabe5395ae452b99b5ba9fd27e7128ee1b2 (diff)
downloadgsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar.gz
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar.bz2
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar.lz
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar.xz
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.tar.zst
gsoc2013-evolution-7dc4b13d477ea40930d0edf717b04fae4e558232.zip
added a flags field, defined some flags, currently only used by imap. This
2002-08-15 Not Zed <NotZed@Ximian.com> * camel-store.h (CamelFolderInfo): added a flags field, defined some flags, currently only used by imap. This and below is first step to getting incremental folder tree loading. * providers/imap/camel-imap-store.c (get_subscribed_folders): If the subscribed list is empty, always add inbox. (imap_connect_offline): If the 'storeinfo' namespace isn't the same as our own (if its set), then ignore it, assume we changed settings. Otherwise you can't change the namespace ... (get_folders): allow the env variable CAMEL_IMAP_MAX_DEPTH to override the default maximum recursion depth if 10 levels. (camel_imap_store_readline): Dont depend the log debug on d(x) being defined. (get_folder_info_online): changed to use new functions/names. 2002-08-14 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (get_subscribed_folders): Removed the by_hand sillyness. Return an array instead. (get_folders): New method to get folders recursively without having to use '*'. Uses '%', and stops if it gets too deep (current max of 10). (get_folder_counts): New method to fill out unread counts on folderinfo tree. (get_subscribed_folders): Fix some failure logic. * providers/imap/camel-imap-utils.[ch]: Changed IMAP_LIST_FLAGS to use the new CamelFolderInfoFlags directly. svn path=/trunk/; revision=17777
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r--camel/providers/imap/camel-imap-store.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h
index 9ebbc31ad7..bf3003265e 100644
--- a/camel/providers/imap/camel-imap-store.h
+++ b/camel/providers/imap/camel-imap-store.h
@@ -71,6 +71,11 @@ enum {
#define CAMEL_IMAP_STORE_CHECK_ALL (CAMEL_IMAP_STORE_ARG_CHECK_ALL | CAMEL_ARG_INT)
#define CAMEL_IMAP_STORE_FILTER_INBOX (CAMEL_IMAP_STORE_ARG_FILTER_INBOX | CAMEL_ARG_INT)
+/* CamelFolderInfo flags */
+#define CAMEL_IMAP_FOLDER_MARKED (1<<16)
+#define CAMEL_IMAP_FOLDER_UNMARKED (1<<17)
+#define CAMEL_IMAP_FOLDER_NOCHILDREN (1<<18)
+
typedef enum {
IMAP_LEVEL_UNKNOWN,