aboutsummaryrefslogtreecommitdiff
path: root/src/streq.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-31 04:10:12 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-31 04:10:12 -0400
commited04dd7fb0c859870e708da809b002508f959b1c (patch)
tree795176851a8010f6284c723e56c6471b78531513 /src/streq.h
parent5a1d4762bc8fdd39a014bd5f469089f944bc5944 (diff)
downloadfujinet-chat-ed04dd7fb0c859870e708da809b002508f959b1c.tar.gz
Replace strcmp() and friends, tolower(), with custom (small) routines. now at 5129 bytes free.
Diffstat (limited to 'src/streq.h')
-rw-r--r--src/streq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/streq.h b/src/streq.h
new file mode 100644
index 0000000..0996e29
--- /dev/null
+++ b/src/streq.h
@@ -0,0 +1,4 @@
+extern char lcase(char c);
+extern char streq(const char *s1, const char *s2);
+extern char streq_i(const char *s1, const char *s2);
+extern char strneq_i(const char *s1, const char *s2, char limit);