X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=adcd07d6687e0e49cf716a311dab2f2205bcfc24;hp=225b7e91bbaa4db27cd016fb587dd22c6e2e6523;hb=b3caef1f0659dac8183441357c8fee500a940889;hpb=e2556542325a74bb0284ae21764c58249dd7bef7 diff --git a/lib/message.cc b/lib/message.cc index 225b7e91..adcd07d6 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -254,6 +254,12 @@ _notmuch_message_create_for_message_id (notmuch_database_t *notmuch, return message; } +unsigned int +_notmuch_message_get_doc_id (notmuch_message_t *message) +{ + return message->doc_id; +} + const char * notmuch_message_get_message_id (notmuch_message_t *message) {