From 9f4a64cce3f7515dd4522be55c80394eaa761938 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 27 Dec 2005 07:32:36 +0000 Subject: cache search result to speed up on and after the second search. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@869 ee746299-78ed-0310-b773-934348b2243d --- libsylph/procmsg.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libsylph/procmsg.h') diff --git a/libsylph/procmsg.h b/libsylph/procmsg.h index 0e7e1b10..a8125039 100644 --- a/libsylph/procmsg.h +++ b/libsylph/procmsg.h @@ -214,6 +214,9 @@ void procmsg_msg_hash_table_append (GHashTable *msg_table, GSList *mlist); GHashTable *procmsg_to_folder_hash_table_create (GSList *mlist); +gint procmsg_read_cache_data_str (FILE *fp, + gchar **str); + GSList *procmsg_read_cache (FolderItem *item, gboolean scan_file); void procmsg_set_flags (GSList *mlist, @@ -252,6 +255,12 @@ void procmsg_get_mark_sum (FolderItem *item, gint *max, gint first); +FILE *procmsg_open_data_file (const gchar *file, + guint version, + DataOpenMode mode, + gchar *buf, + size_t buf_size); + FILE *procmsg_open_cache_file (FolderItem *item, DataOpenMode mode); FILE *procmsg_open_mark_file (FolderItem *item, -- cgit v1.2.3