summaryrefslogtreecommitdiff
path: root/src/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8.h')
-rw-r--r--src/utf8.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/utf8.h b/src/utf8.h
new file mode 100644
index 0000000..1e4e556
--- /dev/null
+++ b/src/utf8.h
@@ -0,0 +1,12 @@
+#ifndef _H_STMD_UTF8_
+#define _H_STMD_UTF8_
+
+#include "buffer.h"
+
+void utf8proc_case_fold(strbuf *dest, const unsigned char *str, int len);
+void utf8proc_encode_char(int32_t uc, strbuf *buf);
+ssize_t utf8proc_iterate(const uint8_t *str, ssize_t str_len, int32_t *dst);
+ssize_t utf8proc_charlen(const uint8_t *str, ssize_t str_len);
+void utf8proc_detab(strbuf *dest, const unsigned char *line, size_t size);
+
+#endif