Go to the documentation of this file.
23 #ifndef MUTT_EMAIL_BODY_H
24 #define MUTT_EMAIL_BODY_H
long hdr_offset
Offset in stream where the headers begin.
struct Body * mutt_body_new(void)
Create a new Body.
bool noconv
Don't do character set conversion.
struct Content * content
Detailed info about the content of the attachment.
LOFF_T offset
offset where the actual data begins
struct Body * next
next attachment in the list
bool is_autocrypt
Flag autocrypt-decrypted messages for replying.
An email to which things will be attached.
unsigned int disposition
content-disposition, ContentDisposition
void mutt_body_free(struct Body **ptr)
Free a Body.
unsigned int encoding
content-transfer-encoding, ContentEncoding
char * mutt_body_get_charset(struct Body *b, char *buf, size_t buflen)
Get a body's character set.
bool attach_qualifies
This attachment should be counted.
bool tagged
This attachment is tagged.
char * subtype
content-type subtype
bool badsig
Bad cryptographic signature (needed to check encrypted s/mime-signatures)
signed short attach_count
Number of attachments.
char * xtype
content-type if x-unknown
char * form_name
Content-Disposition form-data name param.
bool goodsig
Good cryptographic signature.
bool force_charset
Send mode: don't adjust the character set when in send-mode.
bool mutt_body_cmp_strict(const struct Body *b1, const struct Body *b2)
Strictly compare two email Body's.
LOFF_T length
length (in bytes) of attachment
char * description
content-description
struct Body * parts
parts of a multipart or message/rfc822
char * charset
Send mode: charset of attached file as stored on disk.
bool collapsed
Used by recvattach.
char * d_filename
filename to be used for the content-disposition header.
time_t stamp
Time stamp of last encoding update.
struct AttachPtr * aptr
Menu information, used in recvattach.c.
Info about an attachment.
unsigned int type
content-type primary type, ContentType
bool deleted
Attachment marked for deletion.
bool use_disp
Content-Disposition uses filename= ?
bool warnsig
Maybe good signature.
struct Email * email
header information for message/rfc822
bool unlink
If true, filename should be unlink()ed before free()ing this structure.
struct ParameterList parameter
parameters of the content-type
The envelope/body of an email.
char * language
content-language (RFC8255)
struct Envelope * mime_headers
Memory hole protected headers.
char * filename
when sending a message, this is the file to which this structure refers