aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-06-20 04:54:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-06-20 04:54:50 +0800
commitb27eb5f67ae5a2b1bb93e661ac7862520ff30d4b (patch)
treec22e2b73897220118dd44caa45437d546e7792a7 /camel/providers/imap/camel-imap-folder.h
parentb14b1bfac1a5097036d2ddb8d5fe464515313c78 (diff)
downloadgsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar.gz
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar.bz2
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar.lz
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar.xz
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.tar.zst
gsoc2013-evolution-b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b.zip
Set summary equal to NULL. (imap_get_summary): Store the summary in the
2000-06-19 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set summary equal to NULL. (imap_get_summary): Store the summary in the ImapFolder (imap_summary_get_by_uid): If we have a summary cache in the ImapFolder, first check to see if that message info is in the cached summary first, if not fetch it directly from the IMAP server and append it to the summary cache. (imap_get_message_flags): Don't free the message info that we get back from summary_get_by_uid as we don't want to be corrupting our cached summary. svn path=/trunk/; revision=3636
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.h')
-rw-r--r--camel/providers/imap/camel-imap-folder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.h b/camel/providers/imap/camel-imap-folder.h
index 64483ca147..ea96b2facb 100644
--- a/camel/providers/imap/camel-imap-folder.h
+++ b/camel/providers/imap/camel-imap-folder.h
@@ -45,8 +45,8 @@ extern "C" {
typedef struct {
CamelFolder parent_object;
- CamelFolderSearch *search; /* used to run searches, we just use the real thing (tm) */
-
+ CamelFolderSearch *search; /* used to run searches */
+ GPtrArray *summary;
gint count;
} CamelImapFolder;