47 for (; b; b = b->
next)
128 struct Body *t = NULL;
void mutt_body_free(struct Body **ptr)
Free a Body.
struct Body * mutt_body_new(void)
Create a new Body.
Structs that make up an email.
@ TYPE_MULTIPART
Type: 'multipart/*'.
@ DISP_INLINE
Content is inline.
struct Body * mutt_remove_multipart(struct Body *b)
Extract the multipart body if it exists.
static int get_toplevel_encoding(struct Body *b)
Find the most restrictive encoding type.
static bool check_boundary(const char *boundary, struct Body *b)
Check for duplicate boundary.
struct Body * mutt_make_multipart(struct Body *b)
Create a multipart email.
void mutt_generate_boundary(struct ParameterList *pl)
Create a unique boundary id for a MIME part.
Manipulate multipart Emails.
Convenience wrapper for the library headers.
char * mutt_str_dup(const char *str)
Copy a string, safely.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
char * mutt_param_get(const struct ParameterList *pl, const char *s)
Find a matching Parameter.
void mutt_param_delete(struct ParameterList *pl, const char *attribute)
Delete a matching Parameter.
void mutt_param_set(struct ParameterList *pl, const char *attribute, const char *value)
Set a Parameter.
void mutt_rand_base32(char *buf, size_t buflen)
Fill a buffer with a base32-encoded random string.
Miscellaneous functions for sending an email.
struct Body * parts
parts of a multipart or message/rfc822
struct ParameterList parameter
Parameters of the content-type.
bool use_disp
Content-Disposition uses filename= ?
unsigned int disposition
content-disposition, ContentDisposition
struct Body * next
next attachment in the list
char * subtype
content-type subtype
unsigned int encoding
content-transfer-encoding, ContentEncoding
unsigned int type
content-type primary type, ContentType