![]() |
libyang
4.0.12
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Macros | |
| #define | LYD_MERGE_DEFAULTS 0x02 |
| #define | LYD_MERGE_DESTRUCT 0x01 |
| #define | LYD_MERGE_WITH_FLAGS 0x04 |
Various options to change lyd_merge_tree(), lyd_merge_siblings(), and lyd_merge_module() behavior.
Default behavior:
| #define LYD_MERGE_DEFAULTS 0x02 |
Default nodes in the source tree replace even explicit nodes in the target.
Definition at line 2106 of file tree_data.h.
| #define LYD_MERGE_DESTRUCT 0x01 |
Spend source data tree in the function, it cannot be used afterwards!
Definition at line 2105 of file tree_data.h.
| #define LYD_MERGE_WITH_FLAGS 0x04 |
Merged nodes (those missing in the source) keep their exact flags.
Definition at line 2107 of file tree_data.h.