]> git.cworth.org Git - obsolete/notmuch-old/commit
lib: Make notmuch_query_search_messages set the exclude flag
authorMark Walters <markwalters1009@gmail.com>
Thu, 1 Mar 2012 22:30:37 +0000 (22:30 +0000)
committerDavid Bremner <bremner@debian.org>
Fri, 2 Mar 2012 12:27:47 +0000 (08:27 -0400)
commitc9eb94d7fb520612374870dda9b9058a85c9b03d
tree1164a80d3d9f978c79d7c4779519ad02b766f007
parent08f7b026a9f8a32fbe14eb73b99a026544b22900
lib: Make notmuch_query_search_messages set the exclude flag

Add a flag NOTMUCH_MESSAGE_FLAG_EXCLUDED which is set by
notmuch_query_search_messages for excluded messages. Also add an
option omit_excluded_messages to the search that we do not want the
excludes at all.

This exclude flag will be added to notmuch_query_search threads in the
next patch.
lib/notmuch-private.h
lib/notmuch.h
lib/query.cc