]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-config.c
lib/open: use local talloc context in n_d_create_with_config
[notmuch] / notmuch-config.c
index cefb827478b64c41a2f37a68841adf2037e37c01..e1a583e62788f2cce437e4f54ce0cc0591bd6261 100644 (file)
@@ -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;