* mu-msg, mu-msg-file: fix up mu_msg_get_header

This commit is contained in:
Dirk-Jan C. Binnema
2011-05-19 22:25:27 +03:00
parent 68294e4d5c
commit 603c6be7df
4 changed files with 54 additions and 0 deletions

View File

@ -298,6 +298,19 @@ time_t mu_msg_get_timestamp (MuMsg *msg);
/**
* get a specific header from the message. This value will _not_ be
* cached
*
* @param self a MuMsg instance
* @param header a specific header (like 'X-Mailer' or 'Organization')
*
* @return a header string which is valid as long as this MuMsg is
*/
const char* mu_msg_get_header (MuMsg *self, const char *header);
/**
* get the list of references as a comma-separated string
*