aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2018-08-30 08:29:10 -0300
committerDavid Bremner <david@tethera.net>2018-09-06 08:07:13 -0300
commit46dce33abc82ea6ebd3be2e0887506af4185c739 (patch)
treecdb3ca606c7fcf77e9eb5c7e9c45de77b45aeaa0 /lib/notmuch-private.h
parent21803df6aeb20ff2e91068988441f10fc4b6853a (diff)
lib/thread: change _resolve_thread_relationships to use depths
We (finally) implement the XXX comment. It requires a bit of care not to reparent all of the possible toplevel messages. _notmuch_messages_has_next is not ready to be a public function yet, since it punts on the mset case. We know in the one case it is called, the notmuch_messages_t is just a regular list / iterator.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index 94fc54d7..9eca0789 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -487,6 +487,9 @@ _notmuch_message_list_add_message (notmuch_message_list_t *list,
notmuch_messages_t *
_notmuch_messages_create (notmuch_message_list_t *list);
+bool
+_notmuch_messages_has_next (notmuch_messages_t *messages);
+
/* query.cc */
bool