libcbor  0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Macros | Functions
unicode.c File Reference
#include "unicode.h"

Go to the source code of this file.

Macros

#define UTF8_ACCEPT   0
 
#define UTF8_REJECT   1
 

Functions

uint32_t _cbor_unicode_decode (uint32_t *state, uint32_t *codep, uint32_t byte)
 
size_t _cbor_unicode_codepoint_count (cbor_data source, size_t source_length, struct _cbor_unicode_status *status)
 

Macro Definition Documentation

§ UTF8_ACCEPT

#define UTF8_ACCEPT   0

Definition at line 10 of file unicode.c.

§ UTF8_REJECT

#define UTF8_REJECT   1

Definition at line 11 of file unicode.c.

Function Documentation

§ _cbor_unicode_codepoint_count()

size_t _cbor_unicode_codepoint_count ( cbor_data  source,
size_t  source_length,
struct _cbor_unicode_status status 
)

Definition at line 43 of file unicode.c.

§ _cbor_unicode_decode()

uint32_t _cbor_unicode_decode ( uint32_t *  state,
uint32_t *  codep,
uint32_t  byte 
)

Definition at line 32 of file unicode.c.