From 5394924e6cf8f4758fdfb748b8b28b7ef9165ce7 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 24 Nov 2012 23:57:03 -0500 Subject: lib: Separate list of all messages from top-level messages Previously, thread.cc built up a list of all messages, then proceeded to tear it apart to transform it into a list of top-level messages. Now we simply build a new list of top-level messages. This simplifies the interface to _notmuch_message_add_reply, eliminates the pointer acrobatics from _resolve_thread_relationships, and will enable us to do things with the list of all messages in the following patches. --- lib/notmuch-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/notmuch-private.h') diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 7a409f54..c054a0e9 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -462,7 +462,7 @@ _notmuch_doc_id_set_remove (notmuch_doc_id_set_t *doc_ids, void _notmuch_message_add_reply (notmuch_message_t *message, - notmuch_message_node_t *reply); + notmuch_message_t *reply); /* sha1.c */ -- cgit v1.2.3