lib: add private function to extract the database for a message.
authorDavid Bremner <david@tethera.net>
Fri, 26 Dec 2014 16:16:12 +0000 (17:16 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 28 Mar 2015 23:34:15 +0000 (00:34 +0100)
commit9b73a8bcc9cb381fc1a15013f4baa3ec9fdb97a7
tree15aa2a748be8ef90d49a6ee216d84aafa54614de
parentb53e1a2da720e9a0efd815b92f0a54dc2f644ffc
lib: add private function to extract the database for a message.

This is needed by logging in functions outside message.cc that take
only a notmuch_message_t object.
lib/message.cc
lib/notmuch-private.h