]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/defs.h
ruby: New exception Notmuch::UnbalancedAtomicError
[notmuch] / bindings / ruby / defs.h
index db53096850e471cfe33cf7815f93cb069aa0897d..5446868e9be602836853951558bb40c399180e8c 100644 (file)
@@ -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);