X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-private.h;h=b67aa9051b85eea1991a46da38089ecabba0096b;hp=39d5e7579e7c88e2baab30d20044409b845678f1;hb=90a0ef4ac4a023f11f82b037c635b4b22762b12f;hpb=bf78a89196b251c2465f6cefa8198f22c87ff23d diff --git a/notmuch-private.h b/notmuch-private.h index 39d5e757..b67aa905 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -291,6 +291,13 @@ notmuch_message_file_get_header (notmuch_message_file_t *message, const char * notmuch_message_file_get_all_headers (notmuch_message_file_t *message); +/* Get the size in bytes of the full header section of 'message'. + * + * Returns 0 in the case of any error. + */ +size_t +notmuch_message_file_get_header_size (notmuch_message_file_t *message); + /* date.c */ /* Parse an RFC 8222 date string to a time_t value.