Diffusion C API
6.2.9
|
Typedefs | |
typedef struct DIFFUSION_VALUE_T | DIFFUSION_VALUE_T |
Opaque diffusion value data type. | |
Functions | |
bool | diffusion_value_get_raw_bytes (const DIFFUSION_VALUE_T *value, void **raw_bytes, size_t *len) |
Retrieve the value's raw bytes. More... | |
DIFFUSION_VALUE_T * | diffusion_value_dup (const DIFFUSION_VALUE_T *value) |
Create a copy of a DIFFUSION_VALUE_T. More... | |
void | diffusion_value_free (DIFFUSION_VALUE_T *value) |
Free a diffusion value. More... | |
DIFFUSION_VALUE_T* diffusion_value_dup | ( | const DIFFUSION_VALUE_T * | value | ) |
Create a copy of a DIFFUSION_VALUE_T.
value | value to be copied. |
void diffusion_value_free | ( | DIFFUSION_VALUE_T * | value | ) |
Free a diffusion value.
value | value to be freed. |
bool diffusion_value_get_raw_bytes | ( | const DIFFUSION_VALUE_T * | value, |
void ** | raw_bytes, | ||
size_t * | len | ||
) |
Retrieve the value's raw bytes.
If the raw bytes are successfully retrieved from the diffusion value, the "len" parameter will have its value set to the length of the returned bytes.
value | the diffusion value |
raw_bytes | pointer to a pointer to be set |
len | size_t pointer to have its value set to the length of the bytes data. |