]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/init.c
py3k: The ConfigParser module has been renamed to configparser
[notmuch] / bindings / ruby / init.c
index 1ea40c266aaaebfcda526f5af7a84c88cc888ffb..4405f196413e58e0bf4a1d9fae286d6bad8d7c77 100644 (file)
@@ -193,6 +193,10 @@ Init_notmuch (void)
     rb_define_method (notmuch_rb_cDatabase, "get_directory", notmuch_rb_database_get_directory, 1); /* in database.c */
     rb_define_method (notmuch_rb_cDatabase, "add_message", notmuch_rb_database_add_message, 1); /* in database.c */
     rb_define_method (notmuch_rb_cDatabase, "remove_message", notmuch_rb_database_remove_message, 1); /* in database.c */
+    rb_define_method (notmuch_rb_cDatabase, "find_message",
+                     notmuch_rb_database_find_message, 1); /* in database.c */
+    rb_define_method (notmuch_rb_cDatabase, "find_message_by_filename",
+                     notmuch_rb_database_find_message_by_filename, 1); /* in database.c */
     rb_define_method (notmuch_rb_cDatabase, "query", notmuch_rb_database_query_create, 1); /* in database.c */
 
     /*