|
Nyx Node
|

Functions | |
| nyx_dict_t * | nyx_stream_prop_new (STR_t name, __NYX_NULLABLE__ STR_t label) |
| Allocates a new Nyx Stream property. | |
| nyx_dict_t * | nyx_stream_vector_new (STR_t device, STR_t name, nyx_state_t state, nyx_dict_t *props[], __NYX_NULLABLE__ const nyx_opts_t *opts) |
| Allocates a new Nyx Stream vector. | |
| bool | nyx_stream_pub (const nyx_dict_t *vector, __NYX_ZEROABLE__ size_t n_fields, const size_t field_sizes[], const buff_t field_buffs[]) |
| If Nyx Stream is enabled, publishes an entry to a stream. | |
Nyx Stream Message
| nyx_dict_t * nyx_stream_prop_new | ( | STR_t | name, |
| __NYX_NULLABLE__ STR_t | label ) |
Allocates a new Nyx Stream property.
| name | Property name. |
| label | Property label. |
| nyx_dict_t * nyx_stream_vector_new | ( | STR_t | device, |
| STR_t | name, | ||
| nyx_state_t | state, | ||
| nyx_dict_t * | props[], | ||
| __NYX_NULLABLE__ const nyx_opts_t * | opts ) |
Allocates a new Nyx Stream vector.
| device | Device name. |
| name | Vector name. |
| state | Vector state. |
| props | Array of properties with NULL sentinel. |
| opts | Options (group, label, hints, timeout, message). |
| bool nyx_stream_pub | ( | const nyx_dict_t * | vector, |
| __NYX_ZEROABLE__ size_t | n_fields, | ||
| const size_t | field_sizes[], | ||
| const buff_t | field_buffs[] ) |
If Nyx Stream is enabled, publishes an entry to a stream.
| vector | Nyx stream vector. |
| n_fields | Number of fields. Must match the number of properties in the vector. |
| field_sizes | Array of payload byte counts, one per field. |
| field_buffs | Array of payload buffers, one per field. |