summaryrefslogtreecommitdiff
path: root/notmuch-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-private.h')
-rw-r--r--notmuch-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/notmuch-private.h b/notmuch-private.h
index 39d5e75..b67aa90 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.