NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
header.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_SEND_HEADER_H
24 #define MUTT_SEND_HEADER_H
25 
26 #include <stdbool.h>
27 #include <stdio.h>
28 #include "copy.h"
29 
30 struct Body;
31 struct ConfigSubset;
32 struct Envelope;
33 struct ListHead;
34 
39 {
45 };
46 
47 int mutt_rfc822_write_header(FILE *fp, struct Envelope *env, struct Body *attach, enum MuttWriteHeaderMode mode, bool privacy, bool hide_protected_subject, struct ConfigSubset *sub);
48 int mutt_write_mime_header(struct Body *a, FILE *fp, struct ConfigSubset *sub);
49 int mutt_write_one_header(FILE *fp, const char *tag, const char *value, const char *pfx, int wraplen, CopyHeaderFlags chflags, struct ConfigSubset *sub);
50 void mutt_write_references(const struct ListHead *r, FILE *fp, size_t trim, struct ConfigSubset *sub);
51 
52 #endif /* MUTT_SEND_HEADER_H */
A postponed Email, just the envelope info.
Definition: header.h:42
The body of an email.
Definition: body.h:34
fcc mode, like normal mode but for Bcc header
Definition: header.h:41
A normal Email, write full header + MIME headers.
Definition: header.h:40
A set of inherited config items.
Definition: subset.h:46
MuttWriteHeaderMode
Modes for mutt_rfc822_write_header()
Definition: header.h:38
Write protected headers.
Definition: header.h:44
Duplicate the structure of an entire email.
uint32_t CopyHeaderFlags
Flags for mutt_copy_header(), e.g. CH_UPDATE.
Definition: copy.h:50
int mutt_write_one_header(FILE *fp, const char *tag, const char *value, const char *pfx, int wraplen, CopyHeaderFlags chflags, struct ConfigSubset *sub)
Write one header line to a file.
Definition: header.c:420
int mutt_write_mime_header(struct Body *a, FILE *fp, struct ConfigSubset *sub)
Create a MIME header.
Definition: header.c:764
int mutt_rfc822_write_header(FILE *fp, struct Envelope *env, struct Body *attach, enum MuttWriteHeaderMode mode, bool privacy, bool hide_protected_subject, struct ConfigSubset *sub)
Write out one RFC822 header line.
Definition: header.c:574
The header of an Email.
Definition: envelope.h:54
void mutt_write_references(const struct ListHead *r, FILE *fp, size_t trim, struct ConfigSubset *sub)
Add the message references to a list.
Definition: header.c:515
"light" mode (used for edit_hdrs)
Definition: header.h:43