libyang  2.0.7
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Data merge options.
Collaboration diagram for Data merge options.:

Macros

#define LYD_MERGE_DEFAULTS   0x02
 
#define LYD_MERGE_DESTRUCT   0x01
 

Detailed Description

Various options to change lyd_merge_tree(), lyd_merge_siblings(), and lyd_merge_module() behavior.

Default behavior:

Macro Definition Documentation

◆ LYD_MERGE_DEFAULTS

#define LYD_MERGE_DEFAULTS   0x02

Default nodes in the source tree replace even explicit nodes in the target.

Definition at line 1896 of file tree_data.h.

◆ LYD_MERGE_DESTRUCT

#define LYD_MERGE_DESTRUCT   0x01

Spend source data tree in the function, it cannot be used afterwards!

Definition at line 1895 of file tree_data.h.