diff options
Diffstat (limited to 'mail/message-thread.h')
-rw-r--r-- | mail/message-thread.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/message-thread.h b/mail/message-thread.h new file mode 100644 index 0000000000..6c3eaad79a --- /dev/null +++ b/mail/message-thread.h @@ -0,0 +1,20 @@ +#ifndef _MESSAGE_THREAD_H +#define _MESSAGE_THREAD_H + +struct _container { + struct _container *next, + *parent, + *child; + CamelMessageInfo *message; + char *root_subject; /* cached root equivalent subject */ + int re; /* re version of subject? */ +}; + +struct _container *thread_messages(CamelMessageInfo **messages, int count); +void thread_messages_free(struct _container *); + +/* for debug only */ +int dump_tree(struct _container *c, int depth); + +#endif /* !_MESSAGE_THREAD_H */ + |