pub unsafe extern "C" fn lyd_compare_single(
node1: *const lyd_node,
node2: *const lyd_node,
options: u32,
) -> TypeExpand description
@brief Compare 2 data nodes if they are equivalent.
Works correctly even if @p node1 and @p node2 have different contexts.
@param[in] node1 The first node to compare. @param[in] node2 The second node to compare. @param[in] options Various @ref datacompareoptions. @return LY_SUCCESS if the nodes are equivalent. @return LY_ENOT if the nodes are not equivalent.