[][src]Type Definition melib::backends::notmuch::bindings::notmuch_message_reindex

type notmuch_message_reindex = unsafe extern "C" fn(message: *mut notmuch_message_t, indexopts: *mut notmuch_indexopts_t) -> notmuch_status_t;

Re-index the e-mail corresponding to 'message' using the supplied index options

Returns the status of the re-index operation. (see the return codes documented in notmuch_database_index_file)

After reindexing, the user should discard the message object passed in here by calling notmuch_message_destroy, since it refers to the original message, not to the reindexed message.