Skip to main content

lys_print_node

Function lys_print_node 

Source
pub unsafe extern "C" fn lys_print_node(
    out: *mut ly_out,
    node: *const lysc_node,
    format: Type,
    line_length: usize,
    options: u32,
) -> Type
Expand description

@brief Schema node printer.

@param[in] out Printer handler for a specific output. Use ly_out_*() functions to create and free the handler. @param[in] node Schema node to print. @param[in] format Output format. @param[in] line_length Maximum characters to be printed on a line, 0 for unlimited. Only for #LYS_OUT_TREE printer. @param[in] options Schema output options (see @ref schemaprinterflags). @return LY_ERR value.