Skip to main content

lys_print_submodule

Function lys_print_submodule 

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

@brief Schema submodule printer.

@param[in] out Printer handler for a specific output. Use ly_out_*() functions to create and free the handler. @param[in] submodule Parsed submodule to print. @param[in] format Output format (LYS_OUT_YANG_COMPILED is not supported). @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.