Top | ![]() |
![]() |
![]() |
![]() |
gboolean camel_mime_part_construct_content_from_parser (CamelMimePart *mime_part
,CamelMimeParser *mp
,GCancellable *cancellable
,GError **error
);
Constructs the contnet of mime_part
from the given mime parser.
Since: 2.24
gboolean (*CamelMessageContentInfoTraverseCallback) (CamelMessageContentInfo *ci
,gint depth
,gpointer user_data
);
This is the callback signature for camel_message_content_info_traverse()
.
ci |
||
depth |
the current depth |
|
user_data |
data passed to |
Since: 3.36
CamelMessageContentInfo *
camel_message_content_info_new (void
);
Allocate a new CamelMessageContentInfo.
CamelMessageContentInfo *
camel_message_content_info_copy (const CamelMessageContentInfo *src
);
Since: 3.24
void
camel_message_content_info_free (CamelMessageContentInfo *ci
);
Recursively frees the content info ci
, and all associated memory.
CamelMessageContentInfo *
camel_message_content_info_new_from_headers
(const CamelNameValueArray *headers
);
CamelMessageContentInfo *
camel_message_content_info_new_from_parser
(CamelMimeParser *parser
);
CamelMessageContentInfo *
camel_message_content_info_new_from_message
(CamelMimePart *mime_part
);
gboolean camel_message_content_info_traverse (CamelMessageContentInfo *ci
,CamelMessageContentInfoTraverseCallback func
,gpointer user_data
);
Calls the func
for each CamelMessageContentInfo, including the top one.
The func
can return TRUE
to continue processing or FALSE
to stop it.
void camel_message_content_info_dump (CamelMessageContentInfo *ci
,gint depth
);