Skip to main content

lyd_diff_siblings

Function lyd_diff_siblings 

Source
pub unsafe extern "C" fn lyd_diff_siblings(
    first: *const lyd_node,
    second: *const lyd_node,
    options: u16,
    diff: *mut *mut lyd_node,
) -> Type
Expand description

@brief Learn the differences between 2 data trees including all the following siblings.

Details are mentioned in ::lyd_diff_tree().

@param[in] first First data tree. @param[in] second Second data tree. @param[in] options Bitmask of options flags, see @ref diffoptions. @param[out] diff Generated diff, NULL if there are no differences. @return LY_SUCCESS on success, @return LY_ERR on error.