aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-folder.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-11-02 03:58:38 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-11-02 03:58:38 +0800
commitc611fef68632d0a5f17b01458d15db41e7f2605c (patch)
tree6e066d030dc244f21fa2c4bd654374fde0e6e39a /camel/providers/imap4/camel-imap4-folder.h
parent588322d706050ca1403fee983b7787f333594fac (diff)
downloadgsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.gz
gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.zst
gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.zip
Remove expunged messages from the cache.
2004-11-01 Jeffrey Stedfast <fejj@novell.com> * providers/imap4/camel-imap4-summary.c (camel_imap4_summary_expunge): Remove expunged messages from the cache. (camel_imap4_summary_set_uidvalidity): Clear the cache if the UIDVALIDITY has changed. * providers/imap4/camel-imap4-folder.c (imap4_get_message): If the message exists in the cache, use that rather than fetching it from the server and cache messages fetched from the server for later use. (camel_imap4_folder_finalize): Unref the cache if non-NULL. (camel_imap4_folder_new): Create the CamelDataCache. svn path=/trunk/; revision=27784
Diffstat (limited to 'camel/providers/imap4/camel-imap4-folder.h')
-rw-r--r--camel/providers/imap4/camel-imap4-folder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-folder.h b/camel/providers/imap4/camel-imap4-folder.h
index a5d3ce3cc0..c4936dfabe 100644
--- a/camel/providers/imap4/camel-imap4-folder.h
+++ b/camel/providers/imap4/camel-imap4-folder.h
@@ -23,6 +23,7 @@
#include <camel/camel-store.h>
#include <camel/camel-folder.h>
+#include <camel/camel-data-cache.h>
#ifdef __cplusplus
extern "C" {
@@ -43,6 +44,7 @@ struct _CamelIMAP4Folder {
CamelFolder parent_object;
CamelFolderSearch *search;
+ CamelDataCache *cache;
char *cachedir;
char *utf7_name;