X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=7929fe7222ea0bc92d0842a2444d92373a0fc4c9;hp=9f23a106e53b7acef19d1bf26036ed6993a361df;hb=08f7b026a9f8a32fbe14eb73b99a026544b22900;hpb=00c60fbcb3b2b7c9f90c36e4dfb9393fdf678735 diff --git a/lib/notmuch.h b/lib/notmuch.h index 9f23a106..7929fe72 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -457,6 +457,12 @@ notmuch_query_set_sort (notmuch_query_t *query, notmuch_sort_t sort); notmuch_sort_t notmuch_query_get_sort (notmuch_query_t *query); +/* Add a tag that will be excluded from the query results by default. + * This exclusion will be overridden if this tag appears explicitly in + * the query. */ +void +notmuch_query_add_tag_exclude (notmuch_query_t *query, const char *tag); + /* Execute a query for threads, returning a notmuch_threads_t object * which can be used to iterate over the results. The returned threads * object is owned by the query and as such, will only be valid until