X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-config.c;h=e1a583e62788f2cce437e4f54ce0cc0591bd6261;hb=986056bdbcfea642a2d08f7ee257f7aaaed433b9;hp=4fa274c73b15222432954efc52b4ead0f35ec660;hpb=319efe21c9d2754c99951cecc71184faf7ca9054;p=notmuch diff --git a/notmuch-config.c b/notmuch-config.c index 4fa274c7..e1a583e6 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -510,6 +510,11 @@ notmuch_config_close (notmuch_config_t *config) talloc_free (config); } +const char * +_notmuch_config_get_path (notmuch_config_t *config) +{ + return config->filename; +} /* Save any changes made to the notmuch configuration. * * Any comments originally in the file will be preserved. @@ -1102,7 +1107,8 @@ notmuch_config_command_list (notmuch_config_t *config) } int -notmuch_config_command (notmuch_config_t *config, unused(notmuch_database_t *notmuch), int argc, char *argv[]) +notmuch_config_command (notmuch_config_t *config, unused(notmuch_database_t *notmuch), + int argc, char *argv[]) { int ret; int opt_index;