Lines Matching refs:md
73 static void module_free(CONF_MODULE *md);
264 CONF_MODULE *md; in module_run() local
270 md = module_find(name); in module_run()
273 if (!md && !(flags & CONF_MFLAGS_NO_DSO)) in module_run()
274 md = module_load_dso(cnf, name, value); in module_run()
276 if (!md) { in module_run()
284 ret = module_init(md, name, value, cnf); in module_run()
305 CONF_MODULE *md; in module_load_dso() local
324 md = module_add(dso, name, ifunc, ffunc); in module_load_dso()
326 if (md == NULL) in module_load_dso()
329 return md; in module_load_dso()
519 CONF_MODULE *md; in CONF_modules_unload() local
541 md = sk_CONF_MODULE_value(new_modules, i); in CONF_modules_unload()
543 if (((md->links > 0) || !md->dso) && !all) in CONF_modules_unload()
547 sk_CONF_MODULE_push(to_delete, md); in CONF_modules_unload()
564 static void module_free(CONF_MODULE *md) in module_free() argument
566 DSO_free(md->dso); in module_free()
567 OPENSSL_free(md->name); in module_free()
568 OPENSSL_free(md); in module_free()
639 const char *CONF_imodule_get_name(const CONF_IMODULE *md) in CONF_imodule_get_name() argument
641 return md->name; in CONF_imodule_get_name()
644 const char *CONF_imodule_get_value(const CONF_IMODULE *md) in CONF_imodule_get_value() argument
646 return md->value; in CONF_imodule_get_value()
649 void *CONF_imodule_get_usr_data(const CONF_IMODULE *md) in CONF_imodule_get_usr_data() argument
651 return md->usr_data; in CONF_imodule_get_usr_data()
654 void CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data) in CONF_imodule_set_usr_data() argument
656 md->usr_data = usr_data; in CONF_imodule_set_usr_data()
659 CONF_MODULE *CONF_imodule_get_module(const CONF_IMODULE *md) in CONF_imodule_get_module() argument
661 return md->pmod; in CONF_imodule_get_module()
664 unsigned long CONF_imodule_get_flags(const CONF_IMODULE *md) in CONF_imodule_get_flags() argument
666 return md->flags; in CONF_imodule_get_flags()
669 void CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags) in CONF_imodule_set_flags() argument
671 md->flags = flags; in CONF_imodule_set_flags()