aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmsg.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-27 07:32:36 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-27 07:32:36 +0000
commit9f4a64cce3f7515dd4522be55c80394eaa761938 (patch)
tree1fd2421bfffc692bf507af6d8c134fefab7fd640 /libsylph/procmsg.h
parentc949a532de4138d9bd205f35cb16e0a309512f5d (diff)
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
Diffstat (limited to 'libsylph/procmsg.h')
-rw-r--r--libsylph/procmsg.h9
1 files changed, 9 insertions, 0 deletions
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,