]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib: save path of xapian database in notmuch struct.
[notmuch] / lib / database-private.h
index d83cf0d0ae0bc674cd341703d004082d6504dcce..d936b216954cf673bd8636fee90a6246c64a7e49 100644 (file)
@@ -189,8 +189,12 @@ operator& (notmuch_field_flag_t a, notmuch_field_flag_t b)
 struct _notmuch_database {
     bool exception_reported;
 
 struct _notmuch_database {
     bool exception_reported;
 
+    /* Path to database parent directory and or/mail root */
     char *path;
 
     char *path;
 
+    /* Path to actual database */
+    const char *xapian_path;
+
     int atomic_nesting;
     /* true if changes have been made in this atomic section */
     bool atomic_dirty;
     int atomic_nesting;
     /* true if changes have been made in this atomic section */
     bool atomic_dirty;