X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=3768d6f88d034bd3fe4401fa8993b56d6cd0deb5;hb=417274d698b6718621b9f5dec744ab169499f4e3;hp=94cce1bc8f5e9bd93f6ff7e94bfb032712d960fa;hpb=4971b85641def6b17072ae1b0de0adf15d197f2c;p=notmuch diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 94cce1bc..3768d6f8 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -275,6 +275,16 @@ _notmuch_message_talloc_copy_data (notmuch_message_t *message); void _notmuch_message_clear_data (notmuch_message_t *message); +/* Set the author member of 'message' - this is the representation used + * when displaying the message */ +void +notmuch_message_set_author (notmuch_message_t *message, const char *author); + +/* Get the author member of 'message' */ +const char * +notmuch_message_get_author (notmuch_message_t *message); + + /* index.cc */ notmuch_status_t @@ -334,6 +344,9 @@ notmuch_message_file_restrict_headersv (notmuch_message_file_t *message, * * The header name is case insensitive. * + * The Received: header is special - for it all Received: headers in + * the message are concatenated + * * 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.