From 7dc4b13d477ea40930d0edf717b04fae4e558232 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 15 Aug 2002 06:17:09 +0000 Subject: added a flags field, defined some flags, currently only used by imap. This 2002-08-15 Not Zed * 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 * 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 --- camel/providers/imap/camel-imap-utils.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'camel/providers/imap/camel-imap-utils.h') diff --git a/camel/providers/imap/camel-imap-utils.h b/camel/providers/imap/camel-imap-utils.h index 9692cc4e38..e8f570137f 100644 --- a/camel/providers/imap/camel-imap-utils.h +++ b/camel/providers/imap/camel-imap-utils.h @@ -50,11 +50,6 @@ struct _namespaces { void imap_namespaces_destroy (struct _namespaces *namespaces); struct _namespaces *imap_parse_namespace_response (const char *response); -#define IMAP_LIST_FLAG_NOINFERIORS (1 << 0) -#define IMAP_LIST_FLAG_NOSELECT (1 << 1) -#define IMAP_LIST_FLAG_MARKED (1 << 2) -#define IMAP_LIST_FLAG_UNMARKED (1 << 3) - gboolean imap_parse_list_response (CamelImapStore *store, const char *buf, int *flags, char *sep, char **folder); -- cgit v1.2.3