]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib/thread: change _resolve_thread_relationships to use depths
[notmuch] / lib / notmuch-private.h
index 590a3451dfecea9c760ca9ea434296982c0cf6b1..9eca07896b353f409a39507e60b777fdc446c219 100644 (file)
@@ -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
@@ -543,6 +546,12 @@ _notmuch_message_remove_unprefixed_terms (notmuch_message_t *message);
 const char *
 _notmuch_message_get_thread_id_only(notmuch_message_t *message);
 
+size_t _notmuch_message_get_thread_depth (notmuch_message_t *message);
+
+void
+_notmuch_message_label_depths (notmuch_message_t *message,
+                              size_t depth);
+
 notmuch_message_list_t *
 _notmuch_message_sort_subtrees (void *ctx, notmuch_message_list_t *list);