8 #ifndef LIBCBOR_FLOATS_CTRLS_H     9 #define LIBCBOR_FLOATS_CTRLS_H   203 #endif //LIBCBOR_FLOATS_CTRLS_H uint8_t cbor_ctrl_value(const cbor_item_t *item)
Reads the control value. 
void cbor_set_ctrl(cbor_item_t *item, uint8_t value)
Assign a control value. 
bool cbor_float_ctrl_is_ctrl(const cbor_item_t *item)
Is this a ctrl value? 
cbor_float_width
Possible widths of CBOR_TYPE_FLOAT_CTRL items. 
void cbor_set_float8(cbor_item_t *item, double value)
Assigns a float value. 
cbor_item_t * cbor_build_float8(double value)
Constructs a new float. 
cbor_item_t * cbor_new_ctrl()
Constructs a new ctrl item. 
bool cbor_ctrl_is_bool(const cbor_item_t *item)
Is this ctrl item a boolean? 
cbor_item_t * cbor_build_float4(float value)
Constructs a new float. 
cbor_float_width cbor_float_get_width(const cbor_item_t *item)
Get the float width. 
cbor_item_t * cbor_new_null()
Constructs new null ctrl item. 
cbor_item_t * cbor_new_float8()
Constructs a new float item. 
void cbor_set_float2(cbor_item_t *item, float value)
Assigns a float value. 
double cbor_float_get_float8(const cbor_item_t *item)
Get a double precision float. 
cbor_item_t * cbor_build_bool(bool value)
Constructs new boolean ctrl item. 
void cbor_set_float4(cbor_item_t *item, float value)
Assigns a float value. 
cbor_item_t * cbor_build_ctrl(uint8_t value)
Constructs a ctrl item. 
cbor_item_t * cbor_build_float2(float value)
Constructs a new float. 
float cbor_float_get_float4(const cbor_item_t *item)
Get a single precision float. 
double cbor_float_get_float(const cbor_item_t *item)
Get the float value represented as double. 
cbor_item_t * cbor_new_undef()
Constructs new under ctrl item. 
float cbor_float_get_float2(const cbor_item_t *item)
Get a half precision float. 
cbor_item_t * cbor_new_float2()
Constructs a new float item. 
cbor_item_t * cbor_new_float4()
Constructs a new float item.