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_item_t Struct Reference

The item handle. More...

#include <data.h>

Data Fields

union cbor_item_metadata metadata
 Discriminated by type. More...
 
size_t refcount
 Reference count - initialize to 0. More...
 
cbor_type type
 Major type discriminator. More...
 
unsigned char * data
 Raw data block - interpretation depends on metadata. More...
 

Detailed Description

The item handle.

Definition at line 149 of file data.h.

Field Documentation

§ data

unsigned char* cbor_item_t::data

Raw data block - interpretation depends on metadata.

Definition at line 157 of file data.h.

§ metadata

union cbor_item_metadata cbor_item_t::metadata

Discriminated by type.

Definition at line 151 of file data.h.

§ refcount

size_t cbor_item_t::refcount

Reference count - initialize to 0.

Definition at line 153 of file data.h.

§ type

cbor_type cbor_item_t::type

Major type discriminator.

Definition at line 155 of file data.h.


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