aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
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/providers
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/providers')
-rw-r--r--camel/providers/imap/camel-imap-provider.c2
-rw-r--r--camel/providers/mbox/camel-mbox-provider.c2
-rw-r--r--camel/providers/mh/camel-mh-provider.c2
-rw-r--r--camel/providers/nntp/camel-nntp-provider.c2
-rw-r--r--camel/providers/pop3/camel-pop3-provider.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c
index b9d8c74847..21452d5cee 100644
--- a/camel/providers/imap/camel-imap-provider.c
+++ b/camel/providers/imap/camel-imap-provider.c
@@ -42,7 +42,7 @@ static CamelProvider imap_provider = {
"mail",
- 0,
+ CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
diff --git a/camel/providers/mbox/camel-mbox-provider.c b/camel/providers/mbox/camel-mbox-provider.c
index de206f18ef..d4048e1be3 100644
--- a/camel/providers/mbox/camel-mbox-provider.c
+++ b/camel/providers/mbox/camel-mbox-provider.c
@@ -38,7 +38,7 @@ static CamelProvider mbox_provider = {
"mail",
- 0,
+ CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
diff --git a/camel/providers/mh/camel-mh-provider.c b/camel/providers/mh/camel-mh-provider.c
index 6a0aaac492..58e97eed30 100644
--- a/camel/providers/mh/camel-mh-provider.c
+++ b/camel/providers/mh/camel-mh-provider.c
@@ -37,7 +37,7 @@ static CamelProvider mh_provider = {
"mail",
- 0,
+ CAMEL_PROVIDER_IS_STORAGE,
{0, 0},
diff --git a/camel/providers/nntp/camel-nntp-provider.c b/camel/providers/nntp/camel-nntp-provider.c
index abfce31c5e..8badba0e9c 100644
--- a/camel/providers/nntp/camel-nntp-provider.c
+++ b/camel/providers/nntp/camel-nntp-provider.c
@@ -36,7 +36,7 @@ static CamelProvider news_provider = {
"news",
- CAMEL_PROVIDER_IS_REMOTE,
+ CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
diff --git a/camel/providers/pop3/camel-pop3-provider.c b/camel/providers/pop3/camel-pop3-provider.c
index 4ccb06058f..52399c99ec 100644
--- a/camel/providers/pop3/camel-pop3-provider.c
+++ b/camel/providers/pop3/camel-pop3-provider.c
@@ -39,7 +39,7 @@ static CamelProvider pop3_provider = {
"mail",
- CAMEL_PROVIDER_IS_REMOTE,
+ CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_SOURCE,
{ 0, 0 },