imap-bodystructure.h [plain text]
#ifndef IMAP_BODYSTRUCTURE_H
#define IMAP_BODYSTRUCTURE_H
struct message_part;
struct message_header_line;
void imap_bodystructure_parse_header(pool_t pool, struct message_part *part,
struct message_header_line *hdr);
bool imap_bodystructure_is_plain_7bit(const struct message_part *part)
ATTR_PURE;
void imap_bodystructure_write(const struct message_part *part,
string_t *dest, bool extended);
bool imap_body_parse_from_bodystructure(const char *bodystructure,
string_t *dest);
#endif