]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: expose notmuch_message_get_database()
[notmuch] / lib / notmuch.h
index 4db28a051e9f8f10c64045c617faf5e0914b05ba..06842517ddf4f986a03b46370b44079438deb597 100644 (file)
@@ -1345,6 +1345,14 @@ notmuch_messages_destroy (notmuch_messages_t *messages);
 notmuch_tags_t *
 notmuch_messages_collect_tags (notmuch_messages_t *messages);
 
+/**
+ * Get the database associated with this message.
+ *
+ * @since libnotmuch 5.2 (notmuch 0.27)
+ */
+notmuch_database_t *
+notmuch_message_get_database (notmuch_message_t *message);
+
 /**
  * Get the message ID of 'message'.
  *