pub fn do_boot_module(
table: &mut modulestab,
modname: &str,
features: Option<&[String]>,
silent: i32,
feat_pat: bool,
) -> i32Expand description
Port of do_boot_module() from Src/module.c:2139. — C decl do_boot_module(Module m, Feature_enables enablesarr, int silent).
C body:
do_boot_module(Module m, Feature_enables enablesarr, int silent)
{
int ret = do_module_features(m, enablesarr,
silent ? FEAT_IGNORE|FEAT_CHECKAUTO :
FEAT_CHECKAUTO);
if (ret == 1) return 1;
if (boot_module(m)) return 1;
return ret;
}