]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: add private function to extract the database for a message.
[notmuch] / lib / notmuch-private.h
index 8a1f2fab77af7c5d9102babdf7625394ed8a07c0..dc58a2fd9cfaa94b3fecce214ee77a17f92af260 100644 (file)
@@ -190,6 +190,10 @@ _notmuch_message_id_compressed (void *ctx, const char *message_id);
 notmuch_status_t
 _notmuch_database_ensure_writable (notmuch_database_t *notmuch);
 
+void
+_notmuch_database_log (notmuch_database_t *notmuch,
+                      const char *format, ...);
+
 const char *
 _notmuch_database_relative_path (notmuch_database_t *notmuch,
                                 const char *path);
@@ -468,6 +472,8 @@ _notmuch_doc_id_set_remove (notmuch_doc_id_set_t *doc_ids,
 void
 _notmuch_message_add_reply (notmuch_message_t *message,
                            notmuch_message_t *reply);
+notmuch_database_t *
+_notmuch_message_database (notmuch_message_t *message);
 
 /* sha1.c */