Skip to main content

lyd_print_clb

Function lyd_print_clb 

Source
pub unsafe extern "C" fn lyd_print_clb(
    writeclb: ly_write_clb,
    user_data: *mut c_void,
    root: *const lyd_node,
    format: Type,
    options: u32,
) -> Type
Expand description

@brief Print data tree in the specified format.

@param[in] writeclb Callback function to write the data (see write(1)). @param[in] user_data Optional caller-specific argument to be passed to the \p writeclb callback. @param[in] root The root element of the (sub)tree to print. @param[in] format Output format. @param[in] options [Data printer flags](@ref dataprinterflags). @return LY_ERR value.