47 SMFPart_T *smf_part_new(
void);
54 void smf_part_free(SMFPart_T *part);
62 void smf_part_set_content_type(SMFPart_T *part,
const char *s);
70 char *smf_part_get_content_type(SMFPart_T *part);
78 void smf_part_set_content_disposition(SMFPart_T *part,
const char *s);
86 char *smf_part_get_content_disposition(SMFPart_T *part);
94 void smf_part_set_content_transfer_encoding(SMFPart_T *part,
const char *s);
102 char *smf_part_get_content_transfer_encoding(SMFPart_T *part);
110 void smf_part_set_content_id(SMFPart_T *part,
const char *s);
118 char *smf_part_get_content_id(SMFPart_T *part);
126 void smf_part_set_content(SMFPart_T *part,
const char *s);
132 #define smf_part_get_content(part) (part->content);
140 void smf_part_set_postface(SMFPart_T *part,
const char *s);
146 #define smf_part_get_postface(part) (part->postface);
156 char *smf_part_to_string(SMFPart_T *part,
const char *nl);
167 int smf_part_from_file(SMFPart_T **part,
char *filename,
const char *nl);
176 int smf_part_to_file(SMFPart_T *part,
char *filename);
185 int smf_part_from_string(SMFPart_T **part,
const char *content);