mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-14 20:56:44 +08:00
556826b5d5
* added default params file * added jansson * added test function. * added tlv tree to function * add params from json works * added to `hf emv exec`: load params from json and some refactoring * added `scan` command
27 lines
672 B
C
27 lines
672 B
C
/*
|
|
* Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
|
|
*
|
|
* Jansson is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*/
|
|
|
|
#ifndef UTF_H
|
|
#define UTF_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include <jansson_private_config.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_STDINT_H
|
|
#include <stdint.h>
|
|
#endif
|
|
|
|
int utf8_encode(int32_t codepoint, char *buffer, size_t *size);
|
|
|
|
size_t utf8_check_first(char byte);
|
|
size_t utf8_check_full(const char *buffer, size_t size, int32_t *codepoint);
|
|
const char *utf8_iterate(const char *buffer, size_t size, int32_t *codepoint);
|
|
|
|
int utf8_check_string(const char *string, size_t length);
|
|
|
|
#endif
|