Skip to main content

lyd_print_tree

Function lyd_print_tree 

Source
pub unsafe extern "C" fn lyd_print_tree(
    out: *mut ly_out,
    root: *const lyd_node,
    format: Type,
    options: u32,
) -> Type
Expand description

@brief Print the selected data subtree.

@param[in] out Printer handler for a specific output. Use ly_out_*() functions to create and free the handler. @param[in] root The root element of the subtree to print. @param[in] format Output format. @param[in] options [Data printer flags](@ref dataprinterflags) except ::LYD_PRINT_WITHSIBLINGS. @return LY_ERR value.