![]() |
libyang 5.8.6
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 lysc_value | dflt |
| struct lysc_must * | musts |
| struct lysc_type * | type |
| const char * | units |
| struct lysc_when ** | when |
Definition at line 1606 of file tree_schema.h.
| union { ... } lysc_node_leaf |
| struct lysc_value lysc_node_leaf::dflt |
default value, use lyd_value_validate_dflt() to get real type and canonical value
Definition at line 1634 of file tree_schema.h.
| struct lysc_must* lysc_node_leaf::musts |
list of must restrictions (sized array)
Definition at line 1629 of file tree_schema.h.
| struct lysc_type* lysc_node_leaf::type |
type of the leaf node (mandatory)
Definition at line 1631 of file tree_schema.h.
| const char* lysc_node_leaf::units |
units of the leaf's type
Definition at line 1633 of file tree_schema.h.
| struct lysc_when** lysc_node_leaf::when |
list of pointers to when statements (sized array)
Definition at line 1630 of file tree_schema.h.