| Top |
| 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 () |
GMimeTextPart *
g_mime_text_part_new (void);
Creates a new text MIME part object with a default content-type of text/plain.
GMimeTextPart *
g_mime_text_part_new_with_subtype (const char *subtype);
Creates a new text MIME part with a sepcified subtype.
const char *
g_mime_text_part_get_charset (GMimeTextPart *mime_part);
Gets the value of the charset parameter on the Content-Type header.
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.
char *
g_mime_text_part_get_text (GMimeTextPart *mime_part);
Gets the text content of the mime_part
as a string.
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.