aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-06-04 09:32:34 -0300
committerDavid Bremner <david@tethera.net>2017-08-01 21:17:47 -0400
commit5b93fa6e70c905e3c5f2a8109683db29ccfd5bcf (patch)
tree6a2c7cf743dad6a5f436c9b6796e34ecb3190767 /lib/notmuch-private.h
parent34d77539925f8e743830a2c8df0a079956ae8be3 (diff)
lib: add notmuch_message_reindex
This new function asks the database to reindex a given message. The parameter `indexopts` is currently ignored, but is intended to provide an extensible API to support e.g. changing the encryption or filtering status (e.g. whether and how certain non-plaintext parts are indexed).
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index c8934b8b..b187a80f 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -436,6 +436,12 @@ _notmuch_message_file_get_headers (notmuch_message_file_t *message_file,
const char *
_notmuch_message_file_get_filename (notmuch_message_file_t *message);
+/* add-message.cc */
+notmuch_status_t
+_notmuch_database_link_message_to_parents (notmuch_database_t *notmuch,
+ notmuch_message_t *message,
+ notmuch_message_file_t *message_file,
+ const char **thread_id);
/* index.cc */
notmuch_status_t