![]() |
libyang
0.16.105
YANG data modeling language library
|
Macros | |
#define | LYD_DUP_OPT_RECURSIVE 0x01 |
#define | LYD_DUP_OPT_NO_ATTR 0x02 |
#define | LYD_DUP_OPT_WITH_PARENTS 0x04 |
Various options to change lyd_dup() behavior.
Default behavior:
#define LYD_DUP_OPT_RECURSIVE 0x01 |
Duplicate not just the node but also all the children.
Definition at line 962 of file tree_data.h.
#define LYD_DUP_OPT_NO_ATTR 0x02 |
Do not duplicate attributes of any node.
Definition at line 963 of file tree_data.h.
#define LYD_DUP_OPT_WITH_PARENTS 0x04 |
If a nested node is being duplicated, duplicate also all the parents. Keys are also duplicated for lists. Return value does not change!
Definition at line 964 of file tree_data.h.