X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=216b1c75354bed58d08228248adfc87ecd7b9445;hp=7275d27000a57224694dfe21afab07a3258d456d;hb=4a6371f1d80aec5947b41d7c4e1fdb60cca3c55d;hpb=a727e7d4d398375c4a3ba5020e2ab25b5b874785 diff --git a/lib/notmuch.h b/lib/notmuch.h index 7275d270..216b1c75 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -58,7 +58,7 @@ NOTMUCH_BEGIN_DECLS * version in Makefile.local. */ #define LIBNOTMUCH_MAJOR_VERSION 5 -#define LIBNOTMUCH_MINOR_VERSION 0 +#define LIBNOTMUCH_MINOR_VERSION 2 #define LIBNOTMUCH_MICRO_VERSION 0 @@ -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'. *