diff options
author | Not Zed <NotZed@Ximian.com> | 2002-08-15 14:17:09 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-08-15 14:17:09 +0800 |
commit | 7dc4b13d477ea40930d0edf717b04fae4e558232 (patch) | |
tree | 89ed2c6ecba0350b79e9f80ed7db1a39b27a958a /camel/providers/imap/camel-imap-utils.h | |
parent | 3e208eabe5395ae452b99b5ba9fd27e7128ee1b2 (diff) | |
download | gsoc2013-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-utils.h')
-rw-r--r-- | camel/providers/imap/camel-imap-utils.h | 5 |
1 files changed, 0 insertions, 5 deletions
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); |