mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
16 lines
407 B
C
16 lines
407 B
C
struct message {
|
|
char *msg;
|
|
char *end;
|
|
char *body;
|
|
char *bodyend;
|
|
char *bodychunk;
|
|
};
|
|
|
|
// WSP = SP / HTAB
|
|
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
|
|
|
|
#define isfws(c) (((unsigned char)(c) == ' ' || (unsigned char)(c) == '\t' || (unsigned char)(c) == '\n' || (unsigned char)(c) == '\r'))
|
|
|
|
// ASCII lowercase without alpha check (wrong for "@[\]^_")
|
|
#define lc(c) ((c) | 0x20)
|