![]() | ![]() | ![]() | MIME Directory Library Reference Manual | ![]() |
---|
#include <mimedir/mimedir-attachment.h> struct MIMEDirAttachment; MIMEDirAttachment * mimedir_attachment_new (void
); MIMEDirAttachment * mimedir_attachment_new_from_attribute (MIMEDirAttribute *attribute
,);
GError **errorgboolean mimedir_attachment_read_from_attribute (MIMEDirAttachment *attachment
,MIMEDirAttribute *attribute
,); MIMEDirAttribute * mimedir_attachment_write_to_attribute (
GError **errorMIMEDirAttachment *attachment
);
MIMEDirAttachment * mimedir_attachment_new (void
);
Creates a new iCal attachment object.
Returns : | a new attachment object |
MIMEDirAttachment * mimedir_attachment_new_from_attribute (MIMEDirAttribute *attribute
,);
GError **error
Creates a new attachment object and initializes it with values read from the supplied attribute object.
attribute : | a MIMEDirAttribute object |
error : | error storage location or |
Returns : | a new MIMEDirAttachment object or |
gboolean mimedir_attachment_read_from_attribute (MIMEDirAttachment *attachment
,MIMEDirAttribute *attribute
,);
GError **error
Initializes attachment
with data read from attribute
.
attachment : | a MIMEDirAttachment object |
attribute : | a MIMEDirAttribute object |
error : | error storage location or |
Returns : | success indicator |
MIMEDirAttribute * mimedir_attachment_write_to_attribute
(MIMEDirAttachment *attachment
);
Write attachment
to a newly allocated MIMEDirAttribute object. The
returned object should be freed with g_object_unref()
attachment : | a MIMEDirAttachment object |
Returns : | A newly allocated MIMEDirAttribute object |
<<< Utility Ojects | MIMEDirAttendee >>> |