]> git.notmuchmail.org Git - notmuch/commit
lib: add "verbose" versions of notmuch_database_{open,create}
authorDavid Bremner <david@tethera.net>
Sat, 27 Dec 2014 18:12:49 +0000 (19:12 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 28 Mar 2015 23:34:15 +0000 (00:34 +0100)
commit84d3b15d251623cbb66e5eca7ddb8d61aa596d33
tree73e7cca41e1b9e720f1e57eea58dc56e496cb4a3
parent83298fa0f8e7717a260c1f88edd7bf545709562d
lib: add "verbose" versions of notmuch_database_{open,create}

The compatibility wrapper ensures that clients calling
notmuch_database_open will receive consistent output for now.

The changes to notmuch-{new,search} and test/symbol-test are just to
make the test suite pass.

The use of IGNORE_RESULT is justified by two things. 1) I don't know
what else to do.  2) asprintf guarantees the output string is NULL if
an error occurs, so at least we are not passing garbage back.
lib/database.cc
lib/notmuch.h
notmuch-new.c
notmuch-search.c
test/symbol-test.cc