]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
fix notmuch-new bug when database path ends with a trailing /
[notmuch] / lib / database-private.h
index 76e26ce0045b70811c987c66a8bce2496c0f74de..5f178f3ebc27b77882fc8f25669776fbbef838dd 100644 (file)
 #include <xapian.h>
 
 struct _notmuch_database {
+    notmuch_bool_t exception_reported;
     char *path;
-    Xapian::WritableDatabase *xapian_db;
+    notmuch_database_mode_t mode;
+    Xapian::Database *xapian_db;
     Xapian::QueryParser *query_parser;
     Xapian::TermGenerator *term_gen;
 };