Top |
Functions
GMimeTextPart * | g_mime_text_part_new () |
GMimeTextPart * | g_mime_text_part_new_with_subtype () |
const char * | g_mime_text_part_get_charset () |
void | g_mime_text_part_set_charset () |
char * | g_mime_text_part_get_text () |
void | g_mime_text_part_set_text () |
Functions
g_mime_text_part_new ()
GMimeTextPart *
g_mime_text_part_new (void
);
Creates a new text MIME part object with a default content-type of text/plain.
g_mime_text_part_new_with_subtype ()
GMimeTextPart *
g_mime_text_part_new_with_subtype (const char *subtype
);
Creates a new text MIME part with a sepcified subtype.
g_mime_text_part_get_charset ()
const char *
g_mime_text_part_get_charset (GMimeTextPart *mime_part
);
Gets the value of the charset parameter on the Content-Type header.
g_mime_text_part_set_charset ()
void g_mime_text_part_set_charset (GMimeTextPart *mime_part
,const char *charset
);
Sets the charset parameter on the Content-Type header to the specified value.
g_mime_text_part_get_text ()
char *
g_mime_text_part_get_text (GMimeTextPart *mime_part
);
Gets the text content of the mime_part
as a string.
g_mime_text_part_set_text ()
void g_mime_text_part_set_text (GMimeTextPart *mime_part
,const char *text
);
Sets the specified text as the content and updates the charset parameter on the Content-Type header.