diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-05-16 19:13:05 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-05-16 19:13:05 +0200 |
commit | 831af1d49c9bb7d17794d259c99f92b2513496c5 (patch) | |
tree | 1a7674bb6d4fbcecf1e6b83ff1834b238b06f2a5 /utf8.h | |
parent | 6aebd10ba045085ed1d0ca7c0ffbf69196c3308c (diff) |
server: WIP utf8 validation implementation
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#pragma once + +#include <stddef.h> +#include <stdbool.h> + + +bool validate_utf8(const char *buf, size_t length); |