libcbor  0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Data Fields
cbor_callbacks Struct Reference

Callback bundle – passed to the decoder. More...

#include <callbacks.h>

Data Fields

cbor_int8_callback uint8
 Unsigned int. More...
 
cbor_int16_callback uint16
 Unsigned int. More...
 
cbor_int32_callback uint32
 Unsigned int. More...
 
cbor_int64_callback uint64
 Unsigned int. More...
 
cbor_int64_callback negint64
 Negative int. More...
 
cbor_int32_callback negint32
 Negative int. More...
 
cbor_int16_callback negint16
 Negative int. More...
 
cbor_int8_callback negint8
 Negative int. More...
 
cbor_simple_callback byte_string_start
 Definite byte string. More...
 
cbor_string_callback byte_string
 Indefinite byte string start. More...
 
cbor_string_callback string
 Definite string. More...
 
cbor_simple_callback string_start
 Indefinite string start. More...
 
cbor_simple_callback indef_array_start
 Definite array. More...
 
cbor_collection_callback array_start
 Indefinite array. More...
 
cbor_simple_callback indef_map_start
 Definite map. More...
 
cbor_collection_callback map_start
 Indefinite map. More...
 
cbor_int64_callback tag
 Tags. More...
 
cbor_float_callback float2
 Half float. More...
 
cbor_float_callback float4
 Single float. More...
 
cbor_double_callback float8
 Double float. More...
 
cbor_simple_callback undefined
 Undef. More...
 
cbor_simple_callback null
 Null. More...
 
cbor_bool_callback boolean
 Bool. More...
 
cbor_simple_callback indef_break
 Indefinite item break. More...
 

Detailed Description

Callback bundle – passed to the decoder.

Definition at line 48 of file callbacks.h.

Field Documentation

§ array_start

cbor_collection_callback cbor_callbacks::array_start

Indefinite array.

Definition at line 80 of file callbacks.h.

§ boolean

cbor_bool_callback cbor_callbacks::boolean

Bool.

Definition at line 101 of file callbacks.h.

§ byte_string

cbor_string_callback cbor_callbacks::byte_string

Indefinite byte string start.

Definition at line 70 of file callbacks.h.

§ byte_string_start

cbor_simple_callback cbor_callbacks::byte_string_start

Definite byte string.

Definition at line 68 of file callbacks.h.

§ float2

cbor_float_callback cbor_callbacks::float2

Half float.

Definition at line 91 of file callbacks.h.

§ float4

cbor_float_callback cbor_callbacks::float4

Single float.

Definition at line 93 of file callbacks.h.

§ float8

cbor_double_callback cbor_callbacks::float8

Double float.

Definition at line 95 of file callbacks.h.

§ indef_array_start

cbor_simple_callback cbor_callbacks::indef_array_start

Definite array.

Definition at line 78 of file callbacks.h.

§ indef_break

cbor_simple_callback cbor_callbacks::indef_break

Indefinite item break.

Definition at line 104 of file callbacks.h.

§ indef_map_start

cbor_simple_callback cbor_callbacks::indef_map_start

Definite map.

Definition at line 83 of file callbacks.h.

§ map_start

cbor_collection_callback cbor_callbacks::map_start

Indefinite map.

Definition at line 85 of file callbacks.h.

§ negint16

cbor_int16_callback cbor_callbacks::negint16

Negative int.

Definition at line 63 of file callbacks.h.

§ negint32

cbor_int32_callback cbor_callbacks::negint32

Negative int.

Definition at line 61 of file callbacks.h.

§ negint64

cbor_int64_callback cbor_callbacks::negint64

Negative int.

Definition at line 59 of file callbacks.h.

§ negint8

cbor_int8_callback cbor_callbacks::negint8

Negative int.

Definition at line 65 of file callbacks.h.

§ null

cbor_simple_callback cbor_callbacks::null

Null.

Definition at line 99 of file callbacks.h.

§ string

cbor_string_callback cbor_callbacks::string

Definite string.

Definition at line 73 of file callbacks.h.

§ string_start

cbor_simple_callback cbor_callbacks::string_start

Indefinite string start.

Definition at line 75 of file callbacks.h.

§ tag

cbor_int64_callback cbor_callbacks::tag

Tags.

Definition at line 88 of file callbacks.h.

§ uint16

cbor_int16_callback cbor_callbacks::uint16

Unsigned int.

Definition at line 52 of file callbacks.h.

§ uint32

cbor_int32_callback cbor_callbacks::uint32

Unsigned int.

Definition at line 54 of file callbacks.h.

§ uint64

cbor_int64_callback cbor_callbacks::uint64

Unsigned int.

Definition at line 56 of file callbacks.h.

§ uint8

cbor_int8_callback cbor_callbacks::uint8

Unsigned int.

Definition at line 50 of file callbacks.h.

§ undefined

cbor_simple_callback cbor_callbacks::undefined

Undef.

Definition at line 97 of file callbacks.h.


The documentation for this struct was generated from the following file: