]> git.zerfleddert.de Git - proxmark3-svn/blame - client/jansson/utf.h
Merge pull request #969 from pwpiwi/gcc10_fixes
[proxmark3-svn] / client / jansson / utf.h
CommitLineData
556826b5
OM
1/*
2 * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
3 *
4 * Jansson is free software; you can redistribute it and/or modify
5 * it under the terms of the MIT license. See LICENSE for details.
6 */
7
8#ifndef UTF_H
9#define UTF_H
10
11#ifdef HAVE_CONFIG_H
12#include <jansson_private_config.h>
13#endif
14
15#ifdef HAVE_STDINT_H
16#include <stdint.h>
17#endif
18
19int utf8_encode(int32_t codepoint, char *buffer, size_t *size);
20
21size_t utf8_check_first(char byte);
22size_t utf8_check_full(const char *buffer, size_t size, int32_t *codepoint);
23const char *utf8_iterate(const char *buffer, size_t size, int32_t *codepoint);
24
25int utf8_check_string(const char *string, size_t length);
26
27#endif
Impressum, Datenschutz