Skip to main content

lyd_node_should_print

Function lyd_node_should_print 

Source
pub unsafe extern "C" fn lyd_node_should_print(
    node: *const lyd_node,
    options: u32,
) -> ly_bool
Expand description

@brief Check whether the node should be printed based on the printing options.

@param[in] node Node to check. @param[in] options [Data printer flags](@ref dataprinterflags). @return 0 if not, @return non-0 if should be printed.