Details
struct GMimeMultipart
struct GMimeMultipart {
GMimeObject parent_object;
char *boundary;
char *preface;
char *postface;
GList *subparts;
}; |
g_mime_multipart_new ()
Creates a new MIME multipart object with a default content-type of
multipart/mixed.
g_mime_multipart_new_with_subtype ()
GMimeMultipart* g_mime_multipart_new_with_subtype
(const char *subtype); |
Creates a new MIME multipart object with a content-type of
multipart/subtype.
g_mime_multipart_set_preface ()
void g_mime_multipart_set_preface (GMimeMultipart *multipart,
const char *preface); |
Sets the preface on the multipart.
g_mime_multipart_get_preface ()
Gets the preface on the multipart.
g_mime_multipart_set_postface ()
void g_mime_multipart_set_postface (GMimeMultipart *multipart,
const char *postface); |
Sets the postface on the multipart.
g_mime_multipart_get_postface ()
const char* g_mime_multipart_get_postface (GMimeMultipart *multipart); |
Gets the postface on the multipart.
g_mime_multipart_set_boundary ()
void g_mime_multipart_set_boundary (GMimeMultipart *multipart,
const char *boundary); |
Sets boundary as the boundary on the multipart. If boundary is
NULL, then a boundary will be auto-generated for you.
g_mime_multipart_get_boundary ()
const char* g_mime_multipart_get_boundary (GMimeMultipart *multipart); |
Gets the boundary on the multipart. If the internal boundary is
NULL, then an auto-generated boundary will be set on the multipart
and returned.
g_mime_multipart_add_part ()
Adds a mime part to the multipart.
g_mime_multipart_add_part_at ()
Adds a mime part to the multipart at the position index.
g_mime_multipart_get_number ()
Gets the number of mime parts contained within the multipart.
g_mime_multipart_get_part ()
Gets the mime part at position index within the multipart.
g_mime_multipart_remove_part ()
Removes the specified mime part from the multipart.
g_mime_multipart_remove_part_at ()
Removes the mime part at position index from the multipart.
g_mime_multipart_foreach ()
Calls callback on multipart and each of its subparts.
g_mime_multipart_get_subpart_from_content_id ()
Gets the mime part with the content-id content_id from the
multipart multipart.