aboutsummaryrefslogtreecommitdiff
path: root/blaze822_priv.h
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-13 15:56:50 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-13 15:56:50 +0200
commit8ba55bae99f5b65a681463d04b878ecf5db460bd (patch)
tree37b67b1149193eac55c081ec8c31215f76376007 /blaze822_priv.h
parent01c1c0d9707d2ac859a77d0b95c66fbfac1c07bd (diff)
downloadmblaze-8ba55bae99f5b65a681463d04b878ecf5db460bd.tar.gz
blaze822_priv.h: macro cleanup
Diffstat (limited to 'blaze822_priv.h')
-rw-r--r--blaze822_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/blaze822_priv.h b/blaze822_priv.h
index dfd8895..5276ff7 100644
--- a/blaze822_priv.h
+++ b/blaze822_priv.h
@@ -6,4 +6,8 @@ struct message {
char *bodychunk;
};
+// WSP = SP / HTAB
#define iswsp(c) (((c) == ' ' || (c) == '\t'))
+
+// ASCII lowercase without alpha check (wrong for "@[\]^_")
+#define lc(c) ((c) | 0x20)