1 2 3 4 5 6 7 8 9 10 11 12 13
struct message { char *msg; char *end; char *body; char *bodyend; char *bodychunk; }; // WSP = SP / HTAB #define iswsp(c) (((c) == ' ' || (c) == '\t')) // ASCII lowercase without alpha check (wrong for "@[\]^_") #define lc(c) ((c) | 0x20)