aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-thread.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-07-06 13:03:57 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-07-06 13:03:57 +0800
commitb226c0a68fb89c074b5c5655e9469d692f71c988 (patch)
tree2025df6152c8c7ec0db7a9de0338112fee9022f5 /mail/message-thread.h
parent04f148f617112009091abd18b16463033dd322d0 (diff)
downloadgsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.gz
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.bz2
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.lz
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.xz
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.zst
gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.zip
Code for message threading.
2000-07-06 Not Zed <NotZed@HelixCode.com> * message-thread.[ch]: Code for message threading. svn path=/trunk/; revision=3916
Diffstat (limited to 'mail/message-thread.h')
-rw-r--r--mail/message-thread.h20
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 */
+