summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/char.h')
-rw-r--r--src/core/char.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/char.h b/src/core/char.h
new file mode 100644
index 0000000..772a3a2
--- /dev/null
+++ b/src/core/char.h
@@ -0,0 +1,21 @@
+#ifndef _ZoO_CORE_CHAR_H_
+#define _ZoO_CORE_CHAR_H_
+
+#include "char_types.h"
+
+enum ZoO_word_property ZoO_get_word_property
+(
+ const ZoO_char word [const restrict],
+ size_t word_size
+);
+
+int ZoO_word_cmp
+(
+ const ZoO_char word_a [const static 1],
+ const ZoO_char word_b [const static 1]
+);
+
+int ZoO_char_is_punctuation (const ZoO_char c);
+int ZoO_word_char_is_banned (const ZoO_char c);
+
+#endif