diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-15 22:26:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-15 22:27:15 +0100 |
commit | e7eebcfc42f00aa481ef31abc8e7e243c16f5b2c (patch) | |
tree | b2d7e393fc5252877c15f46eab95c0450f02d52a /src/shared/utf8.h | |
parent | c532d8a00cacacc6775effb7aadca680b1d39ccd (diff) |
shared: add minimal JSON tokenizer
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r-- | src/shared/utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h index 59abee50ac..dcf8588d32 100644 --- a/src/shared/utf8.h +++ b/src/shared/utf8.h @@ -36,6 +36,7 @@ bool utf8_is_printable_newline(const char* str, size_t length, bool newline) _pu char *utf8_escape_invalid(const char *s); char *utf8_escape_non_printable(const char *str); +int utf8_encode_unichar(uint16_t c, char *p); char *utf16_to_utf8(const void *s, size_t length); int utf8_encoded_valid_unichar(const char *str); |