]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
indexing: record protected subject when indexing cleartext
[notmuch] / lib / notmuch-private.h
index cf08411e78d031a180b4019c183430093db34e14..6fc5b366c539712c6ddd2b2fd3778080b0b8958e 100644 (file)
@@ -325,6 +325,10 @@ _notmuch_message_set_header_values (notmuch_message_t *message,
                                    const char *from,
                                    const char *subject);
 
+void
+_notmuch_message_update_subject (notmuch_message_t *message,
+                                const char *subject);
+
 void
 _notmuch_message_upgrade_last_mod (notmuch_message_t *message);
 
@@ -652,6 +656,11 @@ _notmuch_string_map_iterator_value (notmuch_string_map_iterator_t *iterator);
 void
 _notmuch_string_map_iterator_destroy (notmuch_string_map_iterator_t *iterator);
 
+/* Create an iterator for user headers. Destroy with
+ * _notmuch_string_map_iterator_destroy. Actually in database.cc*/
+notmuch_string_map_iterator_t *
+_notmuch_database_user_headers (notmuch_database_t *notmuch);
+
 /* tags.c */
 
 notmuch_tags_t *