X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fdefs.h;h=5446868e9be602836853951558bb40c399180e8c;hp=f00afeff736dc74be033b3427b54dbcb2dc1c4c5;hb=59d2457bcc5e19f287006cea8da0c7c7a003200d;hpb=90a66779e1a6f8c98521925875fbb9a19aeaf68a diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h index f00afeff..5446868e 100644 --- a/bindings/ruby/defs.h +++ b/bindings/ruby/defs.h @@ -44,6 +44,7 @@ VALUE notmuch_rb_eFileNotEmailError; VALUE notmuch_rb_eNullPointerError; VALUE notmuch_rb_eTagTooLongError; VALUE notmuch_rb_eUnbalancedFreezeThawError; +VALUE notmuch_rb_eUnbalancedAtomicError; ID ID_call; ID ID_db_create; @@ -150,6 +151,12 @@ notmuch_rb_database_needs_upgrade(VALUE self); VALUE notmuch_rb_database_upgrade(VALUE self); +VALUE +notmuch_rb_database_begin_atomic(VALUE self); + +VALUE +notmuch_rb_database_end_atomic(VALUE self); + VALUE notmuch_rb_database_get_directory(VALUE self, VALUE pathv);