diff options
| author | David Bremner <david@tethera.net> | 2021-02-21 07:34:52 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-27 09:26:14 -0300 |
| commit | f5d4349921ded021756d6754d347420e68b23111 (patch) | |
| tree | 9d900e9d913e7309d94619413112c1c76bee0335 /lib/database-private.h | |
| parent | 217f8196088f200972d35ee9181bfe361cccc04a (diff) | |
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.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 2900382d..0d12ec1e 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -192,6 +192,9 @@ struct _notmuch_database { /* Path to actual database */ const char *xapian_path; + /* Path to config loaded, if any */ + const char *config_path; + int atomic_nesting; /* true if changes have been made in this atomic section */ bool atomic_dirty; |
