[PATCH 0/2] lib: introduce notmuch_database_new
Jani Nikula
jani at nikula.org
Sun Dec 1 05:13:58 PST 2013
Hi all -
In preparation of adding some logging hooks into the library (instead of
printing everything to stdout/stderr) we need a way to set that kind of
options before opening/creating the database. Here's a proposed API
change to make that possible in the future.
N.B. This breaks bindings and contrib/notmuch-deliver.
BR,
Jani.
Jani Nikula (2):
lib: add return status to database close and destroy
lib: introduce notmuch_database_new for initializing a database handle
lib/database.cc | 80 ++++++++++++++++++++++++++++++----------------------
lib/notmuch.h | 69 ++++++++++++++++++++++++++++++++++----------
notmuch-compact.c | 11 +++++++-
notmuch-count.c | 10 +++++--
notmuch-dump.c | 10 +++++--
notmuch-insert.c | 10 +++++--
notmuch-new.c | 14 +++++----
notmuch-reply.c | 10 +++++--
notmuch-restore.c | 10 +++++--
notmuch-search.c | 10 +++++--
notmuch-show.c | 10 +++++--
notmuch-tag.c | 10 +++++--
test/random-corpus.c | 10 +++++--
test/symbol-test.cc | 3 +-
14 files changed, 193 insertions(+), 74 deletions(-)
--
1.8.4.2
More information about the notmuch
mailing list