]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
Add notmuch_thread_get_tags
[notmuch] / notmuch-private.h
index aac67b2e4bcf51737bb9b5be6452380f3b5fc33f..98ad4e26bfa673d578d15f2caef1948ef0f179fd 100644 (file)
@@ -137,6 +137,16 @@ typedef enum _notmuch_private_status {
      :                                                                 \
      (notmuch_status_t) private_status)
 
+/* thread.cc */
+
+notmuch_thread_t *
+_notmuch_thread_create (const void *talloc_owner,
+                       notmuch_database_t *notmuch,
+                       const char *thread_id);
+
+void
+_notmuch_thread_add_tag (notmuch_thread_t *thread, const char *tag);
+
 /* message.cc */
 
 notmuch_message_t *
@@ -267,6 +277,17 @@ notmuch_sha1_of_string (const char *str);
 char *
 notmuch_sha1_of_file (const char *filename);
 
+/* tags.c */
+
+notmuch_tags_t *
+_notmuch_tags_create (void *ctx);
+
+void
+_notmuch_tags_add_tag (notmuch_tags_t *tags, const char *tag);
+
+void
+_notmuch_tags_prepare_iterator (notmuch_tags_t *tags);
+
 NOTMUCH_END_DECLS
 
 #endif