![]() |
libyang 3.13.5
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
#include <tree_schema.h>
Data Fields | |
| union { | |
| struct { | |
| const char * | dsc |
| struct lysc_ext_instance * | exts |
| uint16_t | flags |
| uint8_t | hash [4] |
| struct lys_module * | module |
| const char * | name |
| struct lysc_node * | next |
| uint16_t | nodetype |
| struct lysc_node * | parent |
| struct lysc_node * | prev |
| void * | priv |
| const char * | ref |
| } | |
| struct lysc_node | node |
| }; | |
| struct lyd_value ** | dflts |
| uint32_t | max |
| uint32_t | min |
| struct lysc_must * | musts |
| struct lysc_type * | type |
| const char * | units |
| struct lysc_when ** | when |
Definition at line 1641 of file tree_schema.h.
| union { ... } lysc_node_leaflist |
| struct lyd_value** lysc_node_leaflist::dflts |
list (sized array) of default values, use lyd_value_get_canonical() to get the canonical strings
Definition at line 1669 of file tree_schema.h.
| uint32_t lysc_node_leaflist::max |
max-elements constraint
Definition at line 1673 of file tree_schema.h.
| uint32_t lysc_node_leaflist::min |
min-elements constraint
Definition at line 1672 of file tree_schema.h.
| struct lysc_must* lysc_node_leaflist::musts |
list of must restrictions (sized array)
Definition at line 1664 of file tree_schema.h.
| struct lysc_type* lysc_node_leaflist::type |
type of the leaf node (mandatory)
Definition at line 1666 of file tree_schema.h.
| const char* lysc_node_leaflist::units |
units of the leaf's type
Definition at line 1668 of file tree_schema.h.
| struct lysc_when** lysc_node_leaflist::when |
list of pointers to when statements (sized array)
Definition at line 1665 of file tree_schema.h.