X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.h;fp=notmuch.h;h=bab573dd4b22ad8b407a7d7dc16e2ba83e4a01d0;hp=230c298e2af0384a6d7fb2f6c621fe997554eb56;hb=dac7e1d4b15af5a7fa6cce3112bc08eb8e8f02e6;hpb=ab2d904e060c6dada013f8bd731fbb4ff824b040 diff --git a/notmuch.h b/notmuch.h index 230c298e..bab573dd 100644 --- a/notmuch.h +++ b/notmuch.h @@ -632,16 +632,6 @@ notmuch_message_get_filename (notmuch_message_t *message); time_t notmuch_message_get_date (notmuch_message_t *message); -/* Get the size in bytes of the full header section of 'message'. - * - * This is useful in conjunction with notmuch_message_get_filename - * for separately parsing the message header and content. - * - * Returns 0 in the case of any error. - */ -size_t -notmuch_message_get_header_size (notmuch_message_t *message); - /* Get the value of the specified header from 'message'. * * The value will be read from the actual message file, not from the @@ -657,20 +647,6 @@ notmuch_message_get_header_size (notmuch_message_t *message); const char * notmuch_message_get_header (notmuch_message_t *message, const char *header); -/* Get the entire set of headers from an email message as a string. - * - * The value will be read from the actual message file, not from the - * notmuch database. - * - * The returned value is owned by the notmuch message and is valid - * only until the message is closed. The caller should copy it if - * needing to modify the value or to hold onto it for longer. - * - * Returns NULL in the case of any error. - */ -const char * -notmuch_message_get_all_headers (notmuch_message_t *message); - /* Get the tags for 'message', returning a notmuch_tags_t object which * can be used to iterate over all tags. *