From a5cf11dac52606141dd246f88d8c59688462e395 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 6 Sep 2014 20:48:54 +0200 Subject: Entity declarations --- src/utf8.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/utf8.h (limited to 'src/utf8.h') 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 -- cgit v1.2.3