X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fdefs.h;h=5446868e9be602836853951558bb40c399180e8c;hp=b1be5a30865f3c5e42de40d0c8d014168dfa6012;hb=59d2457bcc5e19f287006cea8da0c7c7a003200d;hpb=44ea57a0d10ddab514abea319c4d25ec4e36b51e diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h index b1be5a30..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); @@ -189,9 +196,15 @@ notmuch_rb_filenames_each(VALUE self); VALUE notmuch_rb_query_destroy(VALUE self); +VALUE +notmuch_rb_query_get_sort(VALUE self); + VALUE notmuch_rb_query_set_sort(VALUE self, VALUE sortv); +VALUE +notmuch_rb_query_get_string(VALUE self); + VALUE notmuch_rb_query_search_threads(VALUE self); @@ -262,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); @@ -286,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);