summaryrefslogtreecommitdiff
path: root/src/shared/utf8.h
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-11-12 19:49:31 +0900
committerLennart Poettering <lennart@poettering.net>2014-12-04 02:09:44 +0100
commitfec8457652002fd5bff923042a7407b3810f5a7f (patch)
tree94f038e2c98fb54c228b82d32fe72c61ab47bee5 /src/shared/utf8.h
parentda64a1fc41e84bdb67c56693fff685b5eff2a2c7 (diff)
utf8: intruduce utf8_escape_non_printable
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r--src/shared/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h
index c087995930..1fe1a350d5 100644
--- a/src/shared/utf8.h
+++ b/src/shared/utf8.h
@@ -30,6 +30,7 @@
const char *utf8_is_valid(const char *s) _pure_;
char *ascii_is_valid(const char *s) _pure_;
char *utf8_escape_invalid(const char *s);
+char *utf8_escape_non_printable(const char *str);
bool utf8_is_printable_newline(const char* str, size_t length, bool newline) _pure_;
_pure_ static inline bool utf8_is_printable(const char* str, size_t length) {