* WIP: start work on attachment handling in mu-msg-gmime
(and some cleanup)
This commit is contained in:
@ -771,7 +771,6 @@ mu_msg_gmime_get_summary (MuMsgGMime *msg, size_t max_lines)
|
|||||||
return msg->_fields[SUMMARY_FIELD] = summarize (body, max_lines);
|
return msg->_fields[SUMMARY_FIELD] = summarize (body, max_lines);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
mu_msg_gmime_attach_foreach (MuMsgGMime* msg, MuMsgGMimeAttachForeachFunc func,
|
mu_msg_gmime_attach_foreach (MuMsgGMime* msg, MuMsgGMimeAttachForeachFunc func,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
@ -789,7 +788,6 @@ mu_msg_gmime_save_attachment (MuMsgGMime *msg, unsigned num,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const char*
|
const char*
|
||||||
mu_msg_gmime_get_field_string (MuMsgGMime *msg, const MuMsgField* field)
|
mu_msg_gmime_get_field_string (MuMsgGMime *msg, const MuMsgField* field)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -112,7 +112,6 @@ const char* mu_msg_gmime_get_body_html (MuMsgGMime *msg);
|
|||||||
*/
|
*/
|
||||||
const char* mu_msg_gmime_get_summary (MuMsgGMime *msg, size_t max_lines);
|
const char* mu_msg_gmime_get_summary (MuMsgGMime *msg, size_t max_lines);
|
||||||
|
|
||||||
|
|
||||||
struct _MuMsgGMimeAttach {
|
struct _MuMsgGMimeAttach {
|
||||||
unsigned index; /* index of the attachment (names may not be unique) */
|
unsigned index; /* index of the attachment (names may not be unique) */
|
||||||
const char* name; /* name of the attachment */
|
const char* name; /* name of the attachment */
|
||||||
@ -150,8 +149,6 @@ void mu_msg_gmime_attach_foreach (MuMsgGMime* msg,
|
|||||||
gboolean mu_msg_gmime_save_attachment (MuMsgGMime *msg, unsigned num,
|
gboolean mu_msg_gmime_save_attachment (MuMsgGMime *msg, unsigned num,
|
||||||
const char *targetdir);
|
const char *targetdir);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the sender (From:) of this message
|
* get the sender (From:) of this message
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user