[PATCH v4 10/16] Add n_d_add_message_with_indexopts (extension of n_d_add_message)
David Bremner
david at tethera.net
Sat Aug 13 17:08:22 PDT 2016
Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:
> diff --git a/lib/notmuch.h b/lib/notmuch.h
> index b92d969..66b3503 100644
> --- a/lib/notmuch.h
> +++ b/lib/notmuch.h
> @@ -605,6 +605,20 @@ notmuch_status_t
> notmuch_database_add_message (notmuch_database_t *database,
> const char *filename,
> notmuch_message_t **message);
> +/**
> + * Add a new message to the given notmuch database or associate an
> + * additional filename with an existing message using specified
> + * options.
> + *
> + * This does the same thing as notmuch_database_add_message except
> + * that it passes a pre-configured set of indexing options to indicate
> + * how the specific message should be indexed.
> + */
> +notmuch_status_t
> +notmuch_database_add_message_with_indexopts (notmuch_database_t *database,
> + const char *filename,
> + notmuch_indexopts_t *indexopts,
> + notmuch_message_t **message);
>
I'm a bit surprised that no new return values are possible / documented
here.
d
More information about the notmuch
mailing list