]> git.notmuchmail.org Git - notmuch/commit
lib: add notmuch_message_reindex
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 4 Jun 2017 12:32:34 +0000 (09:32 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 2 Aug 2017 01:17:47 +0000 (21:17 -0400)
commit5b93fa6e70c905e3c5f2a8109683db29ccfd5bcf
tree6a2c7cf743dad6a5f436c9b6796e34ecb3190767
parent34d77539925f8e743830a2c8df0a079956ae8be3
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).
lib/add-message.cc
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h