Nyx Node
|
Functions | |
nyx_dict_t * | nyx_switch_def_new (STR_t name, __NULLABLE__ STR_t label, nyx_onoff_t value) |
Allocates a new INDI / Nyx switch. | |
__INLINE__ bool | nyx_switch_def_set (nyx_dict_t *def, nyx_onoff_t value) |
__INLINE__ nyx_onoff_t | nyx_switch_def_get (const nyx_dict_t *def) |
nyx_dict_t * | nyx_switch_def_vector_new (STR_t device, STR_t name, nyx_state_t state, nyx_perm_t perm, nyx_rule_t rule, nyx_dict_t *defs[], __NULLABLE__ const nyx_opts_t *opts) |
Allocates a new INDI / Nyx switch vector. | |
nyx_dict_t * nyx_switch_def_new | ( | STR_t | name, |
__NULLABLE__ STR_t | label, | ||
nyx_onoff_t | value ) |
Allocates a new INDI / Nyx switch.
name | |
label | |
value |
nyx_dict_t * nyx_switch_def_vector_new | ( | STR_t | device, |
STR_t | name, | ||
nyx_state_t | state, | ||
nyx_perm_t | perm, | ||
nyx_rule_t | rule, | ||
nyx_dict_t * | defs[], | ||
__NULLABLE__ const nyx_opts_t * | opts ) |
Allocates a new INDI / Nyx switch vector.
device | |
name | |
state | |
perm | |
rule | |
defs | |
opts |