![]() |
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 lysp_ext_instance * | exts |
| uint16_t | flags |
| struct lysp_qname * | iffeatures |
| const char * | name |
| struct lysp_node * | next |
| uint16_t | nodetype |
| struct lysp_node * | parent |
| const char * | ref |
| } | |
| struct lysp_node | node |
| }; | |
| struct lysp_qname * | dflts |
| uint32_t | max |
| uint32_t | min |
| struct lysp_restr * | musts |
| struct lysp_type | type |
| const char * | units |
| struct lysp_when * | when |
Definition at line 803 of file tree_schema.h.
| union { ... } lysp_node_leaflist |
common part corresponding to lysp_node
| struct lysp_qname* lysp_node_leaflist::dflts |
list of default values (sized array), they may or may not be qualified names
Definition at line 825 of file tree_schema.h.
| uint32_t lysp_node_leaflist::max |
max-elements constraint, 0 means unbounded
Definition at line 828 of file tree_schema.h.
| uint32_t lysp_node_leaflist::min |
min-elements constraint
Definition at line 827 of file tree_schema.h.
| struct lysp_restr* lysp_node_leaflist::musts |
list of must restrictions (sized array)
Definition at line 821 of file tree_schema.h.
| struct lysp_type lysp_node_leaflist::type |
type of the leaf node (mandatory)
Definition at line 823 of file tree_schema.h.
| const char* lysp_node_leaflist::units |
units of the leaf's type
Definition at line 824 of file tree_schema.h.
| struct lysp_when* lysp_node_leaflist::when |
when statement
Definition at line 822 of file tree_schema.h.