![]() |
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 * | dflt |
| struct lysc_must * | musts |
| struct lysc_type * | type |
| const char * | units |
| struct lysc_when ** | when |
Definition at line 1610 of file tree_schema.h.
| union { ... } lysc_node_leaf |
| struct lyd_value* lysc_node_leaf::dflt |
default value, use lyd_value_get_canonical() to get the canonical string
Definition at line 1638 of file tree_schema.h.
| struct lysc_must* lysc_node_leaf::musts |
list of must restrictions (sized array)
Definition at line 1633 of file tree_schema.h.
| struct lysc_type* lysc_node_leaf::type |
type of the leaf node (mandatory)
Definition at line 1635 of file tree_schema.h.
| const char* lysc_node_leaf::units |
units of the leaf's type
Definition at line 1637 of file tree_schema.h.
| struct lysc_when** lysc_node_leaf::when |
list of pointers to when statements (sized array)
Definition at line 1634 of file tree_schema.h.