diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-07-06 13:03:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-07-06 13:03:57 +0800 |
commit | b226c0a68fb89c074b5c5655e9469d692f71c988 (patch) | |
tree | 2025df6152c8c7ec0db7a9de0338112fee9022f5 /mail/message-thread.h | |
parent | 04f148f617112009091abd18b16463033dd322d0 (diff) | |
download | gsoc2013-evolution-b226c0a68fb89c074b5c5655e9469d692f71c988.tar.gz 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.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 */ + |