pub unsafe extern "C" fn ly_ctx_get_submodule_latest(
ctx: *const ly_ctx,
submodule: *const c_char,
) -> *const lysp_submoduleExpand description
@brief Get the latests revision of a submodule from context. If its belongs-to module is known, use ::ly_ctx_get_submodule2_latest().
@param[in] ctx libyang context to search in. @param[in] submodule Submodule name to find. @return Found submodule, NULL if there is none.