X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=f5018497033d1fff6cea3a71a29a01fa5ced0535;hb=8a8e2b11c208050aa1d719ec0933f58d51628fdd;hp=17f0872e9edf80189602712a5d5be652de8a8e2d;hpb=411675a6ce78988157c4a078f504b3b7805e54c6;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index 17f0872e..f5018497 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1341,6 +1341,14 @@ notmuch_message_get_thread_id (notmuch_message_t *message); notmuch_messages_t * notmuch_message_get_replies (notmuch_message_t *message); +/** + * Get the total number of files associated with a message. + * @returns Non-negative integer + * @since libnotmuch 5.0 (notmuch 0.25) + */ +int +notmuch_message_count_files (notmuch_message_t *message); + /** * Get a filename for the email corresponding to 'message'. *