]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib: remove "path" from notmuch struct
[notmuch] / lib / database-private.h
index c9bc712b46c1a0b51c8d93af9189111604b7dd7f..2900382d52b5eb9e38d6e9d27d74c56b978109aa 100644 (file)
@@ -189,7 +189,8 @@ 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;
 
     int atomic_nesting;
     /* true if changes have been made in this atomic section */
@@ -228,6 +229,9 @@ struct _notmuch_database {
      * here, but at least they are small */
     notmuch_string_map_t *user_prefix;
     notmuch_string_map_t *user_header;
+
+    /* Cached and possibly overridden configuration */
+    notmuch_string_map_t *config;
 };
 
 /* Prior to database version 3, features were implied by the database