lib: Internal support for querying and creating ghost messages
authorAustin Clements <amdragon@mit.edu>
Thu, 23 Oct 2014 12:30:36 +0000 (08:30 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 25 Oct 2014 17:26:54 +0000 (19:26 +0200)
commitbc9c50602d20ce712188ea2cc3c5d30647d4d3f5
treea33888e0910ac0c3ae8be9187c4a3989fad3f4d8
parentd99491f27440d83f937131a861ca547bffb8bdf1
lib: Internal support for querying and creating ghost messages

This updates the message abstraction to support ghost messages: it
adds a message flag that distinguishes regular messages from ghost
messages, and an internal function for initializing a newly created
(blank) message as a ghost message.
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h