]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
Remove all calls to g_strdup_printf
[notmuch] / notmuch-private.h
index d257f2b92c52294efe235d3d6377ce9750c82f72..ddc59b4ce5c056fbaf1408be862f882f9af47156 100644 (file)
@@ -22,7 +22,7 @@
 #define NOTMUCH_PRIVATE_H
 
 #ifndef _GNU_SOURCE
-#define _GNU_SOURCE /* For getline */
+#define _GNU_SOURCE /* For getline and asprintf */
 #endif
 #include <stdio.h>
 
@@ -144,6 +144,9 @@ _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 *
@@ -274,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