107 #endif //LIBCBOR_MAPS_H size_t cbor_map_size(const cbor_item_t *item)
Get the number of pairs. 
bool cbor_map_add(cbor_item_t *item, struct cbor_pair pair)
Add a pair to the map. 
bool _cbor_map_add_key(cbor_item_t *item, cbor_item_t *key)
Add a key to the map. 
bool cbor_map_is_definite(const cbor_item_t *item)
Is this map definite? 
size_t cbor_map_allocated(const cbor_item_t *item)
Get the size of the allocated storage. 
cbor_item_t * cbor_new_definite_map(size_t size)
Create a new definite map. 
Simple pair of items for use in maps. 
struct cbor_pair * cbor_map_handle(const cbor_item_t *item)
Get the pairs storage. 
bool _cbor_map_add_value(cbor_item_t *item, cbor_item_t *value)
Add a value to the map. 
cbor_item_t * cbor_new_indefinite_map()
Create a new indefinite map. 
bool cbor_map_is_indefinite(const cbor_item_t *item)
Is this map indefinite?