deimos.cbor.maps

Undocumented in source.

Members

Functions

_cbor_map_add_key
bool _cbor_map_add_key(cbor_item_t* item, cbor_item_t* key)

Add a key to the map

_cbor_map_add_value
bool _cbor_map_add_value(cbor_item_t* item, cbor_item_t* value)

Add a value to the map

cbor_map_add
bool cbor_map_add(cbor_item_t* item, cbor_pair pair)

Add a pair to the map

cbor_map_allocated
size_t cbor_map_allocated(cbor_item_t* item)

Get the size of the allocated storage

cbor_map_handle
cbor_pair* cbor_map_handle(cbor_item_t* item)

Get the pairs storage

cbor_map_is_definite
bool cbor_map_is_definite(cbor_item_t* item)

Is this map definite?

cbor_map_is_indefinite
bool cbor_map_is_indefinite(cbor_item_t* item)

Is this map indefinite?

cbor_map_size
size_t cbor_map_size(cbor_item_t* item)

Get the number of pairs

cbor_new_definite_map
cbor_item_t* cbor_new_definite_map(size_t size)

Create a new definite map

cbor_new_indefinite_map
cbor_item_t* cbor_new_indefinite_map()

Create a new indefinite map

Meta