X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fdefs.h;h=5446868e9be602836853951558bb40c399180e8c;hp=db53096850e471cfe33cf7815f93cb069aa0897d;hb=59d2457bcc5e19f287006cea8da0c7c7a003200d;hpb=ed38940323ba80d0136688405cbd923fa088d706 diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h index db530968..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); @@ -268,6 +275,9 @@ notmuch_rb_message_get_replies(VALUE self); VALUE notmuch_rb_message_get_filename(VALUE self); +VALUE +notmuch_rb_message_get_filenames(VALUE self); + VALUE notmuch_rb_message_get_flag(VALUE self, VALUE flagv); @@ -292,6 +302,12 @@ notmuch_rb_message_remove_tag(VALUE self, VALUE tagv); VALUE notmuch_rb_message_remove_all_tags(VALUE self); +VALUE +notmuch_rb_message_maildir_flags_to_tags(VALUE self); + +VALUE +notmuch_rb_message_tags_to_maildir_flags(VALUE self); + VALUE notmuch_rb_message_freeze(VALUE self);