* 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

@ -47,6 +47,19 @@ void mu_msg_file_destroy (MuMsgFile *self);
/**
* get a specific header
*
* @param self a MuMsgFile instance
* @param header a header (e.g. 'X-Mailer' or 'List-Id')
*
* @return the value of the header or NULL if not found. Note, only
* valid as long as this MuMsgFile is valid -- before
* mu_msg_file_destroy
*/
const char* mu_msg_file_get_header (MuMsgFile *self, const char *header);
/**
* get a string value for this message
*