Daniel Kahn Gillmor <dkg@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