aboutsummaryrefslogtreecommitdiff
path: root/case.h
diff options
context:
space:
mode:
Diffstat (limited to 'case.h')
-rw-r--r--case.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/case.h b/case.h
new file mode 100644
index 0000000..8293a04
--- /dev/null
+++ b/case.h
@@ -0,0 +1,13 @@
+#ifndef CASE_H
+#define CASE_H
+
+extern void case_lowers(char *);
+extern void case_lowerb(char *,unsigned int);
+extern int case_diffs(const char *,const char *);
+extern int case_diffb(const char *,unsigned int,const char *);
+extern int case_starts(const char *,const char *);
+extern int case_startb(const char *,unsigned int,const char *);
+
+#define case_equals(s,t) (!case_diffs((s),(t)))
+
+#endif