X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-config.c;h=0193401fe4b531df971a0b80933ccee709fc5745;hp=cefb827478b64c41a2f37a68841adf2037e37c01;hb=4c79a2dabe38ac72eb9eb21620f2ffca5f1885c6;hpb=867d7352a76e0a8a46e64a035f23edcf7d6f49e4 diff --git a/notmuch-config.c b/notmuch-config.c index cefb8274..0193401f 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -510,6 +510,9 @@ 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 +1105,7 @@ 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;