X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-config.c;h=e1a583e62788f2cce437e4f54ce0cc0591bd6261;hb=986056bdbcfea642a2d08f7ee257f7aaaed433b9;hp=cefb827478b64c41a2f37a68841adf2037e37c01;hpb=867d7352a76e0a8a46e64a035f23edcf7d6f49e4;p=notmuch diff --git a/notmuch-config.c b/notmuch-config.c index cefb8274..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, 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;