![]() |
libyang 5.8.6
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Macros | |
| #define | LYD_DEFAULT 0x01 |
| #define | LYD_EXT 0x08 |
| #define | LYD_NEW 0x04 |
| #define | LYD_WHEN_FALSE 0x10 |
| #define | LYD_WHEN_TRUE 0x02 |
Various flags of data nodes.
1 - container 5 - anydata/anyxml
2 - list 6 - rpc/action
3 - leaf 7 - notification
4 - leaflist
bit name 1 2 3 4 5 6 7
---------------------+-+-+-+-+-+-+-+
1 LYD_DEFAULT |x| |x|x| | | |
+-+-+-+-+-+-+-+
2 LYD_WHEN_TRUE |x|x|x|x|x| | |
+-+-+-+-+-+-+-+
3 LYD_NEW |x|x|x|x|x|x|x|
+-+-+-+-+-+-+-+
4 LYD_EXT |x|x|x|x|x|x|x|
+-+-+-+-+-+-+-+
5 LYD_WHEN_FALSE |x|x|x|x|x| | |
---------------------+-+-+-+-+-+-+-+
| #define LYD_DEFAULT 0x01 |
default (implicit) node
Definition at line 799 of file tree_data.h.
| #define LYD_EXT 0x08 |
node is the first sibling parsed as extension instance data
Definition at line 802 of file tree_data.h.
| #define LYD_NEW 0x04 |
node was created after the last validation, is needed for the next validation
Definition at line 801 of file tree_data.h.
| #define LYD_WHEN_FALSE 0x10 |
when condition of this node was evaluated to false; the node is kept in the tree so multi-error validation can continue, but XPath evaluation must treat the node as non-existent
Definition at line 803 of file tree_data.h.
| #define LYD_WHEN_TRUE 0x02 |
all when conditions of this node were evaluated to true
Definition at line 800 of file tree_data.h.