Skip to main content

lysc_node_child

Function lysc_node_child 

Source
pub unsafe extern "C" fn lysc_node_child(
    node: *const lysc_node,
) -> *const lysc_node
Expand description

@brief Get the children linked list of the given (compiled) schema node.

Note that ::LYS_CHOICE has only ::LYS_CASE children. Also, ::LYS_RPC and ::LYS_ACTION have the first child ::LYS_INPUT, its sibling is ::LYS_OUTPUT.

@param[in] node Node to examine. @return Children linked list if any, @return NULL otherwise.