libcbor  0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Data Structures | Enumerations | Functions
unicode.h File Reference
#include "cbor/common.h"

Go to the source code of this file.

Data Structures

struct  _cbor_unicode_status
 Signals unicode validation error and possibly its location. More...
 

Enumerations

enum  _cbor_unicode_status_error { _CBOR_UNICODE_OK, _CBOR_UNICODE_BADCP }
 

Functions

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

Enumeration Type Documentation

§ _cbor_unicode_status_error

Enumerator
_CBOR_UNICODE_OK 
_CBOR_UNICODE_BADCP 

Definition at line 17 of file unicode.h.

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.