Simple interface for Mbed Cloud Client
cn_cbor Struct Reference
A CBOR value. More...
#include <cn-cbor.h>
Data Fields | |
cn_cbor_type | type |
The type of value. | |
cn_cbor_flags | flags |
Flags used at parse time. | |
int | length |
Number of children. | |
struct cn_cbor * | first_child |
The first child value. | |
struct cn_cbor * | last_child |
The last child value. | |
struct cn_cbor * | next |
The sibling after this one, or NULL if this is the last. | |
struct cn_cbor * | parent |
The parent of this value, or NULL if this is the root. | |
const uint8_t * | bytes |
CN_CBOR_BYTES. | |
const char * | str |
CN_CBOR_TEXT. | |
int64_t | sint |
CN_CBOR_INT. | |
uint64_t | uint |
CN_CBOR_UINT. | |
double | dbl |
CN_CBOR_DOUBLE. | |
unsigned long | count |
for use during parsing |
Detailed Description
A CBOR value.
Definition at line 87 of file cn-cbor.h.
Field Documentation
struct cn_cbor* first_child |
struct cn_cbor* last_child |
int length |
Generated on Tue Jul 12 2022 19:01:39 by 1.7.2