]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/defs.h
ruby: Add workarounds to use in-tree build not the installed one
[notmuch] / bindings / ruby / defs.h
index 81f652fba1d983c596b7f36557dac7d1575bc7af..6fe5787098c29f875e2ef699454298ececf80289 100644 (file)
@@ -1,6 +1,6 @@
 /* The Ruby interface to the notmuch mail library
  *
- * Copyright © 2010, 2011 Ali Polatel
+ * Copyright © 2010, 2011, 2012 Ali Polatel
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,8 +21,8 @@
 #ifndef DEFS_H
 #define DEFS_H
 
-#include <notmuch.h>
 #include <ruby.h>
+#include "notmuch.h"
 
 VALUE notmuch_rb_cDatabase;
 VALUE notmuch_rb_cDirectory;
@@ -216,12 +216,18 @@ notmuch_rb_query_set_sort (VALUE self, VALUE sortv);
 VALUE
 notmuch_rb_query_get_string (VALUE self);
 
+VALUE
+notmuch_rb_query_add_tag_exclude (VALUE self, VALUE tagv);
+
 VALUE
 notmuch_rb_query_search_threads (VALUE self);
 
 VALUE
 notmuch_rb_query_search_messages (VALUE self);
 
+VALUE
+notmuch_rb_query_count_messages (VALUE self);
+
 /* threads.c */
 VALUE
 notmuch_rb_threads_destroy (VALUE self);