]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib/thread: add macro for debug printing of threading
[notmuch] / lib / notmuch-private.h
index 39fc47572b9053c6c98f93c6283e2f6a97cc4e13..02cc0e09da163251b40547a6e2aea182877f9231 100644 (file)
@@ -56,6 +56,7 @@ NOTMUCH_BEGIN_DECLS
 
 #ifdef DEBUG
 # define DEBUG_DATABASE_SANITY 1
+# define DEBUG_THREADING 1
 # define DEBUG_QUERY 1
 #endif
 
@@ -583,6 +584,9 @@ _notmuch_string_list_append (notmuch_string_list_t *list,
 void
 _notmuch_string_list_sort (notmuch_string_list_t *list);
 
+const notmuch_string_list_t *
+_notmuch_message_get_references(notmuch_message_t *message);
+
 /* string-map.c */
 typedef struct _notmuch_string_map  notmuch_string_map_t;
 typedef struct _notmuch_string_map_iterator notmuch_string_map_iterator_t;