aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmsg.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-07 10:17:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-07 10:17:56 +0000
commit168a914e917f0c6b336a1a0f2f3d08e35c001d31 (patch)
tree8637dd8814aab1f37b0adf853e7ebeaca494d110 /libsylph/procmsg.h
parent98bc6b1b9afbee2d32baf91c42906a739aba3f8d (diff)
update caches and flags when reading message list from a folder.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@806 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmsg.h')
-rw-r--r--libsylph/procmsg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsylph/procmsg.h b/libsylph/procmsg.h
index 780fe3de..8cae4440 100644
--- a/libsylph/procmsg.h
+++ b/libsylph/procmsg.h
@@ -221,10 +221,16 @@ GSList *procmsg_sort_msg_list (GSList *mlist,
FolderSortType sort_type);
gint procmsg_get_last_num_in_msg_list(GSList *mlist);
void procmsg_msg_list_free (GSList *mlist);
+
void procmsg_write_cache (MsgInfo *msginfo,
FILE *fp);
void procmsg_write_flags (MsgInfo *msginfo,
FILE *fp);
+void procmsg_write_cache_list (FolderItem *item,
+ GSList *mlist);
+void procmsg_write_flags_list (FolderItem *item,
+ GSList *mlist);
+
void procmsg_flush_mark_queue (FolderItem *item,
FILE *fp);
void procmsg_add_mark_queue (FolderItem *item,
@@ -233,6 +239,7 @@ void procmsg_add_mark_queue (FolderItem *item,
void procmsg_add_flags (FolderItem *item,
gint num,
MsgFlags flags);
+
void procmsg_get_mark_sum (FolderItem *item,
gint *new,
gint *unread,
@@ -240,6 +247,7 @@ void procmsg_get_mark_sum (FolderItem *item,
gint *min,
gint *max,
gint first);
+
FILE *procmsg_open_cache_file (FolderItem *item,
DataOpenMode mode);
FILE *procmsg_open_mark_file (FolderItem *item,