]> git.notmuchmail.org Git - notmuch/commit
lib: provide notmuch_config_path
authorDavid Bremner <david@tethera.net>
Sun, 21 Feb 2021 11:34:52 +0000 (07:34 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 27 Mar 2021 12:26:14 +0000 (09:26 -0300)
commitf5d4349921ded021756d6754d347420e68b23111
tree9d900e9d913e7309d94619413112c1c76bee0335
parent217f8196088f200972d35ee9181bfe361cccc04a
lib: provide notmuch_config_path

Since the library searches in several locations for a config file, the
caller does not know which of these is chosen in the usual case of
passing NULL as a config file. This changes provides an API for the
caller to retrieve the name of the config file chosen. It will be
tested in a following commit.
lib/config.cc
lib/database-private.h
lib/notmuch.h
lib/open.cc