summaryrefslogtreecommitdiff
path: root/src/utf8.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2014-09-06 20:48:54 +0200
committerVicent Marti <tanoku@gmail.com>2014-09-09 03:39:16 +0200
commita5cf11dac52606141dd246f88d8c59688462e395 (patch)
tree24379ff16e3522c6652e9c10cb64f5f704675811 /src/utf8.h
parent61e3e606e64221eaa5cf3d83dc598d5a42818d10 (diff)
Entity declarations
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