]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-config.c
cli/config: add accessor for config file name
[notmuch] / notmuch-config.c
index 4fa274c73b15222432954efc52b4ead0f35ec660..0193401fe4b531df971a0b80933ccee709fc5745 100644 (file)
@@ -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.