lib: Add support for nested atomic sections.
[notmuch] / lib / database-private.h
index f7050097bbccc3054b8a42a536eff6756eb0072e..88532d511a8e395b7c5aa475ad7a403a6722777d 100644 (file)
@@ -43,6 +43,7 @@ struct _notmuch_database {
 
     notmuch_bool_t needs_upgrade;
     notmuch_database_mode_t mode;
+    int atomic_nesting;
     Xapian::Database *xapian_db;
 
     unsigned int last_doc_id;