aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-09 08:07:56 +0800
committerDan Winship <danw@src.gnome.org>2000-08-09 08:07:56 +0800
commit234e613bc3293628516fc38ad6e695b02a8b11a4 (patch)
tree11d65634b9e003ae597d79d06157c2576cc58464 /camel/camel-provider.h
parentffaebb53febb7441ee7cfccaf3819a29efd702d7 (diff)
downloadgsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar.gz
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar.bz2
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar.lz
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar.xz
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.tar.zst
gsoc2013-evolution-234e613bc3293628516fc38ad6e695b02a8b11a4.zip
New code to keep an on-disk cache of what UIDs have been seen in a folder.
* camel-uid-cache.c: New code to keep an on-disk cache of what UIDs have been seen in a folder. * camel-provider.h: Add new flags CAMEL_PROVIDER_IS_SOURCE (mail can arrive in it by non-Camel means) and CAMEL_PROVIDER_IS_STORAGE (you can work with mail directly without needing to copy it local). * providers/*/camel-*-provider.c: Add flags as needed: imap and mbox are SOURCE and STORAGE. mh and nntp are just STORAGE, pop3 is just SOURCE. * camel-mime-message.c (process_header): Add another subject g_strstrip that fejj's earlier commit missed. svn path=/trunk/; revision=4616
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r--camel/camel-provider.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h
index 58d63a773e..4f2a67839f 100644
--- a/camel/camel-provider.h
+++ b/camel/camel-provider.h
@@ -48,7 +48,12 @@ typedef enum {
extern char *camel_provider_type_name[CAMEL_NUM_PROVIDER_TYPES];
+/* _IS_SOURCE means the user can get mail from there.
+ * _IS_STORAGE means the user can read mail from there.
+ */
#define CAMEL_PROVIDER_IS_REMOTE (1 << 0)
+#define CAMEL_PROVIDER_IS_SOURCE (1 << 1)
+#define CAMEL_PROVIDER_IS_STORAGE (1 << 2)
typedef struct {
/* Provider name used in CamelURLs. */