GMime 2.4 Reference Manual | ||||
---|---|---|---|---|
GMimeMessagePart; GMimeMessagePart* g_mime_message_part_new (const char *subtype); GMimeMessagePart* g_mime_message_part_new_with_message (const char *subtype, GMimeMessage *message); GMimeMessage* g_mime_message_part_get_message (GMimeMessagePart *part); void g_mime_message_part_set_message (GMimeMessagePart *part, GMimeMessage *message);
typedef struct _GMimeMessagePart GMimeMessagePart;
A message/rfc822 or message/news MIME part.
GMimeMessagePart* g_mime_message_part_new (const char *subtype);
Creates a new MIME message part object with a default content-type
of message/subtype
.
|
message subtype or NULL for "rfc822"
|
Returns : |
an empty MIME message part object with a default
content-type of message/subtype .
|
GMimeMessagePart* g_mime_message_part_new_with_message (const char *subtype, GMimeMessage *message);
Creates a new MIME message part object with a default content-type
of message/subtype
containing message
.
|
message subtype or NULL for "rfc822"
|
|
message |
Returns : |
a MIME message part object with a default content-type of
message/subtype containing message .
|
GMimeMessage* g_mime_message_part_get_message (GMimeMessagePart *part);
Gets the message object on the message part object part
.
|
message part |
Returns : |
the message part contained within part .
|
void g_mime_message_part_set_message (GMimeMessagePart *part, GMimeMessage *message);
Sets the message
object on the message part object part
.
|
message part |
|
message |