libyang  2.1.80
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data compare options



Detailed Description

Various options to change the lyd_compare_single() and lyd_compare_siblings() behavior.

Macro Definition Documentation

0x02 /* By default, implicit and explicit default nodes are considered to be equal. This flag
changes this behavior and implicit (automatically created default node) and explicit
(explicitly created node with the default value) default nodes are considered different. */

Definition at line 1893 of file tree_data.h.

0x01 /* Lists and containers are the same only in case all they children
(subtree, so direct as well as indirect children) are the same. By default,
containers are the same in case of the same schema node and lists are the same
in case of equal keys (keyless lists do the full recursion comparison all the time). */

Definition at line 1889 of file tree_data.h.

0x04 /* Opaque nodes can normally be never equal to data nodes. Using this flag even
opaque nodes members are compared to data node schema and value and can result
in a match. */

Definition at line 1896 of file tree_data.h.