Nyx Node
Loading...
Searching...
No Matches
Nyx Switch
Collaboration diagram for Nyx Switch:

Functions

nyx_dict_tnyx_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_tnyx_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.
 

Detailed Description

Function Documentation

◆ nyx_switch_def_new()

nyx_dict_t * nyx_switch_def_new ( STR_t name,
__NULLABLE__ STR_t label,
nyx_onoff_t value )

Allocates a new INDI / Nyx switch.

Parameters
name
label
value
Returns

◆ nyx_switch_def_vector_new()

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.

Parameters
device
name
state
perm
rule
defs
opts
Returns