summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/sanitizers/utf8-sanitizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnetdata/sanitizers/utf8-sanitizer.h')
-rw-r--r--src/libnetdata/sanitizers/utf8-sanitizer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libnetdata/sanitizers/utf8-sanitizer.h b/src/libnetdata/sanitizers/utf8-sanitizer.h
new file mode 100644
index 000000000..8b5f73a7f
--- /dev/null
+++ b/src/libnetdata/sanitizers/utf8-sanitizer.h
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_UTF8_SANITIZER_H
+#define NETDATA_UTF8_SANITIZER_H
+
+#include "../libnetdata.h"
+
+size_t text_sanitize(unsigned char *dst, const unsigned char *src, size_t dst_size, const unsigned char *char_map, bool utf, const char *empty, size_t *multibyte_length);
+
+#endif //NETDATA_UTF8_SANITIZER_H