| Top |
GMimeMessageDispositionNotificationGMimeMessageDispositionNotification — Message disposition notification parts |
A machine-readable disposition notification with a lazily parsed header list. Both message/disposition-notification and message/global-disposition-notification use this class.
GMimeMessageDispositionNotification *
g_mime_message_disposition_notification_new
(void);
Creates an empty message/disposition-notification part. Notification fields and an empty content stream are created on first field access.
GMimeHeaderList * g_mime_message_disposition_notification_get_fields (GMimeMessageDispositionNotification *notification,GError **error);
Lazily loads the first header block of the decoded content using default parser options. Existing content is not rewritten merely by reading fields. With no content, an empty header list and content stream are created.
List changes and contained-header changes replace the content using default format options without changing the part's transfer-encoding header. Once loaded, the same list is returned even if the inherited content is replaced; subsequent list edits replace that content again.
Rewind, read and parse errors are propagated without caching a partial
list. Content without a backing stream reports
GMIME_ERROR_INVALID_OPERATION. Stream positioning follows
g_mime_content_open().