aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-thread.h')
-rw-r--r--mail/message-thread.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/message-thread.h b/mail/message-thread.h
index cf4665663f..d5153cbfc0 100644
--- a/mail/message-thread.h
+++ b/mail/message-thread.h
@@ -5,7 +5,6 @@
#include "message-list.h"
struct _container {
- /* Next must be the first member */
struct _container *next,
*parent,
*child;
@@ -15,6 +14,15 @@ struct _container {
int order;
};
+struct _thread_messages {
+ struct _container *tree;
+};
+
+struct _thread_messages *thread_messages(CamelFolder *folder, GPtrArray *uids);
+void thread_messages_add(struct _thread_messages *thread, CamelFolder *folder, GPtrArray *uids);
+void thread_messages_remove(struct _thread_messages *thread, CamelFolder *folder, GPtrArray *uids);
+void thread_messages_free(struct _thread_messages *c);
+
void mail_do_thread_messages (MessageList *ml, GPtrArray *uids,
gboolean use_camel_uidfree,
void (*build) (MessageList *,