aboutsummaryrefslogtreecommitdiff
path: root/lib/add-message.cc
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/add-message.cc
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/add-message.cc')
-rw-r--r--lib/add-message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/add-message.cc b/lib/add-message.cc
index f0a80c4f..711ed9fa 100644
--- a/lib/add-message.cc
+++ b/lib/add-message.cc
@@ -220,7 +220,7 @@ _my_talloc_free_for_g_hash (void *ptr)
talloc_free (ptr);
}
-static notmuch_status_t
+notmuch_status_t
_notmuch_database_link_message_to_parents (notmuch_database_t *notmuch,
notmuch_message_t *message,
notmuch_message_file_t *message_file,