X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fdefs.h;h=85d8205e51dd7e7e161795009f878630a880c747;hp=25222a6cbfec7d3abc8b2d78dc8a7d00bdc04ef6;hb=bc4000a95289da7f4928ea448382c69781f2653c;hpb=d0000daab3f2b04b6b39210dd219de26fa2c8c13 diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h index 25222a6c..85d8205e 100644 --- a/bindings/ruby/defs.h +++ b/bindings/ruby/defs.h @@ -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 #include +#include "notmuch.h" VALUE notmuch_rb_cDatabase; VALUE notmuch_rb_cDirectory; @@ -216,6 +216,12 @@ 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_set_omit_excluded (VALUE self, VALUE omitv); + VALUE notmuch_rb_query_search_threads (VALUE self);