libyang
1.0.253
YANG data modeling language library
|
Macros | |
#define | LYD_VAL_OK 0x00 |
#define | LYD_VAL_DUP 0x01 |
#define | LYD_VAL_UNIQUE 0x02 |
#define | LYD_VAL_MAND 0x04 |
#define | LYD_VAL_INUSE 0x80 |
Validity flags for data nodes.
#define LYD_VAL_OK 0x00 |
Node is successfully validated including whole subtree
Definition at line 147 of file tree_data.h.
#define LYD_VAL_DUP 0x01 |
Instance duplication must be checked again, applicable only to lys_node_list and ::lys_node_leaf_list data nodes
Definition at line 148 of file tree_data.h.
#define LYD_VAL_UNIQUE 0x02 |
Unique value(s) changed, applicable only to lys_node_list data nodes
Definition at line 151 of file tree_data.h.
#define LYD_VAL_MAND 0x04 |
Some child added/removed and it is needed to perform check for mandatory node or min/max constraints of direct list/leaflist children, applicable only to lys_node_list and lys_node_container data nodes, but if on any other node except lys_node_leaflist, it means checking that data node for duplicities. Additionally, it can be set on truly any node type and then status references are checked for this node if flag LYD_OPT_OBSOLETE is used.
Definition at line 152 of file tree_data.h.
#define LYD_VAL_INUSE 0x80 |
Internal flag for note about various processing on data, should be used only internally and removed before libyang returns the node to the caller
Definition at line 163 of file tree_data.h.