pub unsafe extern "C" fn lys_find_module(
ctx: *const ly_ctx,
ctx_node: *const lysc_node,
prefix: *const c_char,
prefix_len: u32,
format: Type,
prefix_data: *const c_void,
) -> *const lys_moduleExpand description
@brief Find a module matching a prefix (or a default one).
@param[in] ctx Context to use. @param[in] ctx_node Schema context node to use in case of a current (unprefixed) module. @param[in] prefix Prefix to resolve, may not be set. @param[in] prefix_len Length of @p prefix. @param[in] format Format of the prefix. @param[in] prefix_data Format-specific data. @return Found prefix module; @return NULL otherwise.