aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-15 20:39:25 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-15 20:41:45 -0800
commit933caf814fcbbb7420d03ef42bb37bea6dd90449 (patch)
treea96e78c60ee4c94cdd92a092746dadd594c89b15 /lib/notmuch-private.h
parent819f964d9a8cf5c92c5d13e8d1f1ac908f159a8c (diff)
notmuch show: Implement proper thread ordering/nesting of messages.
We now properly analyze the in-reply-to headers to create a proper tree representing the actual thread and present the messages in this correct thread order. Also, there's a new "depth:" value added to the "message{" header so that clients can format the thread as desired, (such as by indenting replies).
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index c4b66395..6036ce4a 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -304,6 +304,12 @@ _notmuch_message_list_add_message (notmuch_message_list_t *list,
notmuch_messages_t *
_notmuch_messages_create (notmuch_message_list_t *list);
+/* message.cc */
+
+void
+_notmuch_message_add_reply (notmuch_message_t *message,
+ notmuch_message_node_t *reply);
+
/* date.c */
/* Parse an RFC 8222 date string to a time_t value.