]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib: provide notmuch_config_path
[notmuch] / lib / database-private.h
index d83cf0d0ae0bc674cd341703d004082d6504dcce..0d12ec1efde57b4862f1001facdbfafe3dec54cd 100644 (file)
@@ -189,7 +189,11 @@ operator& (notmuch_field_flag_t a, notmuch_field_flag_t b)
 struct _notmuch_database {
     bool exception_reported;
 
-    char *path;
+    /* Path to actual database */
+    const char *xapian_path;
+
+    /* Path to config loaded, if any */
+    const char *config_path;
 
     int atomic_nesting;
     /* true if changes have been made in this atomic section */