summaryrefslogtreecommitdiffstats
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-08-08 11:16:51 -0300
committerDavid Bremner <david@tethera.net>2021-02-06 19:25:35 -0400
commitdd6b50709970ad08fbf0a09111bd3a0c31455518 (patch)
treec95b5cf1fdcca51cf876fcf97d9d10bccd8a646d /notmuch-client.h
parentd613d10ddd5948b4fa5a186fc54752047b25023d (diff)
cli/config: add accessor for config file name
This is intended for use in temporary code transitioning to the new configuration system. The name is chosen to avoid cluttering the notmuch_config_* namespace further with non-library functions.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index e8fb0323..a026002a 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -334,6 +334,8 @@ void
notmuch_config_set_search_exclude_tags (notmuch_config_t *config,
const char *list[],
size_t length);
+const char *
+_notmuch_config_get_path (notmuch_config_t *config);
int
notmuch_run_hook (const char *db_path, const char *hook);