libcbor 0.12.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Loading...
Searching...
No Matches
callbacks.c File Reference
#include "callbacks.h"

Go to the source code of this file.

Functions

void cbor_null_uint8_callback (void *_ctx _CBOR_UNUSED, uint8_t _CBOR_UNUSED _val)
 
void cbor_null_uint16_callback (void *_ctx _CBOR_UNUSED, uint16_t _CBOR_UNUSED _val)
 
void cbor_null_uint32_callback (void *_ctx _CBOR_UNUSED, uint32_t _CBOR_UNUSED _val)
 
void cbor_null_uint64_callback (void *_ctx _CBOR_UNUSED, uint64_t _CBOR_UNUSED _val)
 
void cbor_null_negint8_callback (void *_ctx _CBOR_UNUSED, uint8_t _CBOR_UNUSED _val)
 
void cbor_null_negint16_callback (void *_ctx _CBOR_UNUSED, uint16_t _CBOR_UNUSED _val)
 
void cbor_null_negint32_callback (void *_ctx _CBOR_UNUSED, uint32_t _CBOR_UNUSED _val)
 
void cbor_null_negint64_callback (void *_ctx _CBOR_UNUSED, uint64_t _CBOR_UNUSED _val)
 
void cbor_null_string_callback (void *_ctx _CBOR_UNUSED, cbor_data _CBOR_UNUSED _val, uint64_t _CBOR_UNUSED _val2)
 
void cbor_null_string_start_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_byte_string_callback (void *_ctx _CBOR_UNUSED, cbor_data _CBOR_UNUSED _val, uint64_t _CBOR_UNUSED _val2)
 
void cbor_null_byte_string_start_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_array_start_callback (void *_ctx _CBOR_UNUSED, uint64_t _CBOR_UNUSED _val)
 
void cbor_null_indef_array_start_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_map_start_callback (void *_ctx _CBOR_UNUSED, uint64_t _CBOR_UNUSED _val)
 
void cbor_null_indef_map_start_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_tag_callback (void *_ctx _CBOR_UNUSED, uint64_t _CBOR_UNUSED _val)
 
void cbor_null_float2_callback (void *_ctx _CBOR_UNUSED, float _CBOR_UNUSED _val)
 
void cbor_null_float4_callback (void *_ctx _CBOR_UNUSED, float _CBOR_UNUSED _val)
 
void cbor_null_float8_callback (void *_ctx _CBOR_UNUSED, double _CBOR_UNUSED _val)
 
void cbor_null_null_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_undefined_callback (void *_ctx _CBOR_UNUSED)
 
void cbor_null_boolean_callback (void *_ctx _CBOR_UNUSED, bool _CBOR_UNUSED _val)
 
void cbor_null_indef_break_callback (void *_ctx _CBOR_UNUSED)
 

Variables

const struct cbor_callbacks cbor_empty_callbacks
 Dummy callback bundle - does nothing.
 

Function Documentation

◆ cbor_null_array_start_callback()

void cbor_null_array_start_callback ( void *_ctx _CBOR_UNUSED,
uint64_t _CBOR_UNUSED _val )

Definition at line 46 of file callbacks.c.

◆ cbor_null_boolean_callback()

void cbor_null_boolean_callback ( void *_ctx _CBOR_UNUSED,
bool _CBOR_UNUSED _val )

Definition at line 72 of file callbacks.c.

◆ cbor_null_byte_string_callback()

void cbor_null_byte_string_callback ( void *_ctx _CBOR_UNUSED,
cbor_data _CBOR_UNUSED _val,
uint64_t _CBOR_UNUSED _val2 )

Definition at line 40 of file callbacks.c.

◆ cbor_null_byte_string_start_callback()

void cbor_null_byte_string_start_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 44 of file callbacks.c.

◆ cbor_null_float2_callback()

void cbor_null_float2_callback ( void *_ctx _CBOR_UNUSED,
float _CBOR_UNUSED _val )

Definition at line 59 of file callbacks.c.

◆ cbor_null_float4_callback()

void cbor_null_float4_callback ( void *_ctx _CBOR_UNUSED,
float _CBOR_UNUSED _val )

Definition at line 62 of file callbacks.c.

◆ cbor_null_float8_callback()

void cbor_null_float8_callback ( void *_ctx _CBOR_UNUSED,
double _CBOR_UNUSED _val )

Definition at line 65 of file callbacks.c.

◆ cbor_null_indef_array_start_callback()

void cbor_null_indef_array_start_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 49 of file callbacks.c.

◆ cbor_null_indef_break_callback()

void cbor_null_indef_break_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 75 of file callbacks.c.

◆ cbor_null_indef_map_start_callback()

void cbor_null_indef_map_start_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 54 of file callbacks.c.

◆ cbor_null_map_start_callback()

void cbor_null_map_start_callback ( void *_ctx _CBOR_UNUSED,
uint64_t _CBOR_UNUSED _val )

Definition at line 51 of file callbacks.c.

◆ cbor_null_negint16_callback()

void cbor_null_negint16_callback ( void *_ctx _CBOR_UNUSED,
uint16_t _CBOR_UNUSED _val )

Definition at line 25 of file callbacks.c.

◆ cbor_null_negint32_callback()

void cbor_null_negint32_callback ( void *_ctx _CBOR_UNUSED,
uint32_t _CBOR_UNUSED _val )

Definition at line 28 of file callbacks.c.

◆ cbor_null_negint64_callback()

void cbor_null_negint64_callback ( void *_ctx _CBOR_UNUSED,
uint64_t _CBOR_UNUSED _val )

Definition at line 31 of file callbacks.c.

◆ cbor_null_negint8_callback()

void cbor_null_negint8_callback ( void *_ctx _CBOR_UNUSED,
uint8_t _CBOR_UNUSED _val )

Definition at line 22 of file callbacks.c.

◆ cbor_null_null_callback()

void cbor_null_null_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 68 of file callbacks.c.

◆ cbor_null_string_callback()

void cbor_null_string_callback ( void *_ctx _CBOR_UNUSED,
cbor_data _CBOR_UNUSED _val,
uint64_t _CBOR_UNUSED _val2 )

Definition at line 34 of file callbacks.c.

◆ cbor_null_string_start_callback()

void cbor_null_string_start_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 38 of file callbacks.c.

◆ cbor_null_tag_callback()

void cbor_null_tag_callback ( void *_ctx _CBOR_UNUSED,
uint64_t _CBOR_UNUSED _val )

Definition at line 56 of file callbacks.c.

◆ cbor_null_uint16_callback()

void cbor_null_uint16_callback ( void *_ctx _CBOR_UNUSED,
uint16_t _CBOR_UNUSED _val )

Definition at line 13 of file callbacks.c.

◆ cbor_null_uint32_callback()

void cbor_null_uint32_callback ( void *_ctx _CBOR_UNUSED,
uint32_t _CBOR_UNUSED _val )

Definition at line 16 of file callbacks.c.

◆ cbor_null_uint64_callback()

void cbor_null_uint64_callback ( void *_ctx _CBOR_UNUSED,
uint64_t _CBOR_UNUSED _val )

Definition at line 19 of file callbacks.c.

◆ cbor_null_uint8_callback()

void cbor_null_uint8_callback ( void *_ctx _CBOR_UNUSED,
uint8_t _CBOR_UNUSED _val )

Definition at line 10 of file callbacks.c.

◆ cbor_null_undefined_callback()

void cbor_null_undefined_callback ( void *_ctx _CBOR_UNUSED)

Definition at line 70 of file callbacks.c.

Variable Documentation

◆ cbor_empty_callbacks

const struct cbor_callbacks cbor_empty_callbacks

Dummy callback bundle - does nothing.

Definition at line 77 of file callbacks.c.