/************************************************************************/ /* */ /* A mail content type. */ /* */ /************************************************************************/ # ifndef UTIL_MAIL_CONTENT_H # define UTIL_MAIL_CONTENT_H # include typedef int (*WriteMail)( SimpleOutputStream * sos, const char * mimeBoundary, void * voiddoc ); typedef struct MailContent { char * mcResourceName; char * mcNameText; char * mcTypeSlashSubtype; int mcNeedsBoundary; WriteMail mcWriteMail; } MailContent; # endif