* mu-msg-priv.h: export some function dealing with mime parts
This commit is contained in:
@ -55,6 +55,29 @@ struct _MuMsg {
|
|||||||
MuMsgCache *_cache;
|
MuMsgCache *_cache;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* convert a GMimePart to a string
|
||||||
|
*
|
||||||
|
* @param part a GMimePart
|
||||||
|
* @param err will receive TRUE if there was an error, FALSE otherwise
|
||||||
|
*
|
||||||
|
* @return utf8 string for this MIME part, to be freed by caller
|
||||||
|
*/
|
||||||
|
gchar* mu_msg_mime_part_to_string (GMimePart *part, gboolean *err);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get the MIME part that's probably the body of the message (heuristic)
|
||||||
|
*
|
||||||
|
* @param self a MuMsg
|
||||||
|
* @param want_html whether it should be a html type of body
|
||||||
|
*
|
||||||
|
* @return the MIME part, or NULL in case of error.
|
||||||
|
*/
|
||||||
|
GMimePart* mu_msg_mime_get_body_part (GMimeMessage *msg, gboolean want_html);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /*__MU_MSG_PRIV_H__*/
|
#endif /*__MU_MSG_PRIV_H__*/
|
||||||
|
|||||||
Reference in New Issue
Block a user