23 #ifndef MUTT_EMAIL_PARSE_H 24 #define MUTT_EMAIL_PARSE_H The envelope/body of an email.
struct Body * mutt_read_mime_header(FILE *fp, bool digest)
Parse a MIME header.
struct Body * body
List of MIME parts.
bool mutt_is_message_type(int type, const char *subtype)
Determine if a mime type matches a message or not.
void mutt_auto_subscribe(const char *mailto)
Check if user is subscribed to mailing list.
int mutt_check_encoding(const char *c)
Check the encoding type.
void mutt_parse_content_type(const char *s, struct Body *ct)
Parse a content type.
char * mutt_extract_message_id(const char *s, size_t *len)
Find a message-id.
bool mutt_parse_mailto(struct Envelope *e, char **body, const char *src)
Parse a mailto:// url.
Constants and macros for managing MIME encoding.
void mutt_parse_part(FILE *fp, struct Body *b)
Parse a MIME part.
enum ContentType mutt_check_mime_type(const char *s)
Check a MIME type string.
int mutt_rfc822_parse_line(struct Envelope *env, struct Email *e, char *line, char *p, bool user_hdrs, bool weed, bool do_2047)
Parse an email header.
char * mutt_rfc822_read_line(FILE *fp, char *line, size_t *linelen)
Read a header line from a file.
bool mutt_matches_ignore(const char *s)
Does the string match the ignore list.
struct Envelope * mutt_rfc822_read_header(FILE *fp, struct Email *e, bool user_hdrs, bool weed)
parses an RFC822 header
struct Body * mutt_rfc822_parse_message(FILE *fp, struct Body *parent)
parse a Message/RFC822 body
struct Body * mutt_parse_multipart(FILE *fp, const char *boundary, LOFF_T end_off, bool digest)
Parse a multipart structure.