|
Nyx Node
|

Functions | |
| nyx_dict_t * | nyx_light_prop_new (STR_t name, __NYX_NULLABLE__ STR_t label, nyx_state_t value) |
| Allocates a new INDI / Nyx light property. | |
| bool | nyx_light_prop_set (nyx_dict_t *prop, nyx_state_t value) |
| Sets the new value of the provided property object. | |
| nyx_state_t | nyx_light_prop_get (const nyx_dict_t *prop) |
| Gets the current value of the provided property object. | |
| nyx_dict_t * | nyx_light_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 INDI / Nyx light vector. | |
Nyx Light messages
| nyx_dict_t * nyx_light_prop_new | ( | STR_t | name, |
| __NYX_NULLABLE__ STR_t | label, | ||
| nyx_state_t | value | ||
| ) |
Allocates a new INDI / Nyx light property.
| name | Property name. |
| label | Property label. |
| value | Initial value. |
| bool nyx_light_prop_set | ( | nyx_dict_t * | prop, |
| nyx_state_t | value | ||
| ) |
Sets the new value of the provided property object.
| prop | Property object. |
| value | New value. |
true if the value was modified, false otherwise. Definition at line 43 of file indi_light.c.
| nyx_state_t nyx_light_prop_get | ( | const nyx_dict_t * | prop | ) |
Gets the current value of the provided property object.
| prop | Property object. |
Definition at line 50 of file indi_light.c.
| nyx_dict_t * nyx_light_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 INDI / Nyx light vector.
| device | Device name. |
| name | Vector name. |
| state | Vector state. |
| props | Array of properties with NULL sentinel. |
| opts | Options (group, label, hints, timeout, message). |