Skip to main content

ly_ctx_get_submodule2_latest

Function ly_ctx_get_submodule2_latest 

Source
pub unsafe extern "C" fn ly_ctx_get_submodule2_latest(
    module: *const lys_module,
    submodule: *const c_char,
) -> *const lysp_submodule
Expand description

@brief Get the latest revision of a submodule from a module. If the belongs-to module is not known, use ::ly_ctx_get_submodule_latest().

@param[in] module Belongs-to module to search in. @param[in] submodule Submodule name to find. @return Found submodule, NULL if there is none.