|
Nyx Node
|

Functions | |
| nyx_dict_t * | nyx_blob_prop_new (STR_t name, __NYX_NULLABLE__ STR_t label, __NYX_NULLABLE__ STR_t format, __NYX_ZEROABLE__ size_t size, __NYX_NULLABLE__ BUFF_t buff, bool managed) |
| Allocates a new INDI / Nyx BLOB property. | |
| bool | nyx_blob_prop_set (const nyx_dict_t *prop, __NYX_ZEROABLE__ size_t size, __NYX_NULLABLE__ BUFF_t buff, bool managed) |
| Sets the payload of the provided property object. | |
| void | nyx_blob_prop_get (const nyx_dict_t *prop, __NYX_NULLABLE__ size_t *size, __NYX_NULLABLE__ buff_t *buff) |
| Gets the payload of the provided property object. | |
| nyx_dict_t * | nyx_blob_vector_new (STR_t device, STR_t name, nyx_state_t state, nyx_perm_t perm, nyx_dict_t *props[], __NYX_NULLABLE__ const nyx_opts_t *opts) |
| Allocates a new INDI / Nyx BLOB vector. | |
Nyx BLOB Message
| nyx_dict_t * nyx_blob_prop_new | ( | STR_t | name, |
| __NYX_NULLABLE__ STR_t | label, | ||
| __NYX_NULLABLE__ STR_t | format, | ||
| __NYX_ZEROABLE__ size_t | size, | ||
| __NYX_NULLABLE__ BUFF_t | buff, | ||
| bool | managed ) |
Allocates a new INDI / Nyx BLOB property.
| name | Property name. |
| label | Property label. |
| format | Payload format. |
| size | Number of initial payload bytes. |
| buff | Initial payload buffer. |
| managed | If true, ownership of the provided buffer is transferred to the property object. |
| bool nyx_blob_prop_set | ( | const nyx_dict_t * | prop, |
| __NYX_ZEROABLE__ size_t | size, | ||
| __NYX_NULLABLE__ BUFF_t | buff, | ||
| bool | managed ) |
Sets the payload of the provided property object.
| prop | Property object. |
| size | Number of payload bytes. |
| buff | Payload buffer. |
| managed | If true, ownership of the provided buffer is transferred to the object. |
| void nyx_blob_prop_get | ( | const nyx_dict_t * | prop, |
| __NYX_NULLABLE__ size_t * | size, | ||
| __NYX_NULLABLE__ buff_t * | buff ) |
Gets the payload of the provided property object.
| prop | Property object. |
| size | Optional pointer receiving the number of payload bytes. |
| buff | Optional pointer receiving the payload buffer. |
| nyx_dict_t * nyx_blob_vector_new | ( | STR_t | device, |
| STR_t | name, | ||
| nyx_state_t | state, | ||
| nyx_perm_t | perm, | ||
| nyx_dict_t * | props[], | ||
| __NYX_NULLABLE__ const nyx_opts_t * | opts ) |
Allocates a new INDI / Nyx BLOB vector.
| device | Device name. |
| name | Vector name. |
| state | Vector state. |
| perm | Vector permissions. |
| props | Array of properties with NULL sentinel. |
| opts | Options (group, label, hints, timeout, message). |