NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
content.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_EMAIL_CONTENT_H
24 #define MUTT_EMAIL_CONTENT_H
25 
26 #include <stdbool.h>
27 
33 struct Content
34 {
35  long hibin;
36  long lobin;
37  long nulbin;
38  long crlf;
39  long ascii;
40  long linemax;
41  bool space : 1;
42  bool binary : 1;
43  bool from : 1;
44  bool dot : 1;
45  bool cr : 1;
46 };
47 
48 #endif /* MUTT_EMAIL_CONTENT_H */
Content::dot
bool dot
Has a line consisting of a single dot?
Definition: content.h:44
Content::from
bool from
Has a line beginning with "From "?
Definition: content.h:43
Content::linemax
long linemax
Length of the longest line in the file.
Definition: content.h:40
Content::hibin
long hibin
8-bit characters
Definition: content.h:35
Content::lobin
long lobin
Unprintable 7-bit chars (eg., control chars)
Definition: content.h:36
Content::nulbin
long nulbin
Null characters (0x0)
Definition: content.h:37
Content::space
bool space
Whitespace at the end of lines?
Definition: content.h:41
Content::binary
bool binary
Long lines, or CR not in CRLF pair.
Definition: content.h:42
Content::ascii
long ascii
Number of ascii chars.
Definition: content.h:39
Content::crlf
long crlf
\r and \n characters
Definition: content.h:38
Content::cr
bool cr
Has CR, even when in a CRLF pair.
Definition: content.h:45
Content
Info about an attachment.
Definition: content.h:33