Add internal functions to search for alternate doc types
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 9 Apr 2016 01:54:49 +0000 (22:54 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 15 Apr 2016 10:07:23 +0000 (07:07 -0300)
commit011fc41d4d1a1dc9ae3765c9f08ee603eea7bc7e
tree0a7e8b823454a44411c2fa8ec6d373cf18348d58
parent604d1e0977c2ede365f87492d6b9bf9a83c3e1d3
Add internal functions to search for alternate doc types

Publicly we are only exposing the non-ghost documents (of "type"
"mail").  But internally we might want to inspect the ghost messages
as well.

This changeset adds two new private interfaces to queries to recover
information about alternate document types.
lib/notmuch-private.h
lib/query.cc