[PATCH 1/3] cli: add insert --must-index option

David Bremner david at tethera.net
Thu Oct 10 07:15:05 PDT 2013


Tomi Ollila <tomi.ollila at iki.fi> writes:
>> I'm not opposed to doing an SONAME bump for 0.17. Are there other ABI
>> breaking changes that we have been holding back on? Can these maybe go
>> through at the same time?
>
> Maybe something along these lines...
>
> (Quick draft for the API part; to start discussion before working too much
> for something that is going to be dropped...)
>
>  notmuch_status_t
> -notmuch_database_create (const char *path, notmuch_database_t **database);
> +notmuch_database_create (const char *path,
> +			 notmuch_loghook_t *loghook,
> +			 notmuch_database_t **database);

Another idea floated (by Austin?) was to pass in an options struct, to
allow future options to be added without changing the function
signature. I guess with some care this could be done in an upwardly
compatible way.

d


More information about the notmuch mailing list