NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
content.h
Go to the documentation of this file.
1
23
24
#ifndef MUTT_EMAIL_CONTENT_H
25
#define MUTT_EMAIL_CONTENT_H
26
27
#include <stdbool.h>
28
34
struct
Content
35
{
36
long
hibin
;
37
long
lobin
;
38
long
nulbin
;
39
long
crlf
;
40
long
ascii
;
41
long
linemax
;
42
bool
space
: 1;
43
bool
binary
: 1;
44
bool
from
: 1;
45
bool
dot
: 1;
46
bool
cr
: 1;
47
};
48
55
struct
ContentState
56
{
57
bool
from
;
58
int
whitespace
;
59
bool
dot
;
60
int
linelen
;
61
bool
was_cr
;
62
};
63
64
#endif
/* MUTT_EMAIL_CONTENT_H */
ContentState
Info about the body of an email.
Definition
content.h:56
ContentState::was_cr
bool was_cr
Was the last character CR?
Definition
content.h:61
ContentState::whitespace
int whitespace
Number of trailing whitespaces.
Definition
content.h:58
ContentState::from
bool from
Is the current line a prefix of "From "?
Definition
content.h:57
ContentState::linelen
int linelen
Length of the current line.
Definition
content.h:60
ContentState::dot
bool dot
Was the last character a dot?
Definition
content.h:59
Content
Info about an attachment.
Definition
content.h:35
Content::crlf
long crlf
\r and \n characters
Definition
content.h:39
Content::hibin
long hibin
8-bit characters
Definition
content.h:36
Content::cr
bool cr
Has CR, even when in a CRLF pair.
Definition
content.h:46
Content::space
bool space
Whitespace at the end of lines?
Definition
content.h:42
Content::ascii
long ascii
Number of ascii chars.
Definition
content.h:40
Content::binary
bool binary
Long lines, or CR not in CRLF pair.
Definition
content.h:43
Content::from
bool from
Has a line beginning with "From "?
Definition
content.h:44
Content::nulbin
long nulbin
Null characters (0x0).
Definition
content.h:38
Content::linemax
long linemax
Length of the longest line in the file.
Definition
content.h:41
Content::lobin
long lobin
Unprintable 7-bit chars (eg., control chars).
Definition
content.h:37
Content::dot
bool dot
Has a line consisting of a single dot?
Definition
content.h:45