[#CONF_modules_load_file_ex]
= CONF&lowbar;modules&lowbar;load&lowbar;file&lowbar;ex
:mrdocs:

Load and initialize CONF modules from a file using library context `libctx&period;`

== Synopsis

Declared in `&lt;openssl&sol;conf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CONF&lowbar;modules&lowbar;load&lowbar;file&lowbar;ex(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* filename,
    char const* appname,
    unsigned long flags);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context for module initialization, or NULL for the default&period;
| *filename*
| Path to an OpenSSL configuration file, or NULL for the default path&period;
| *appname*
| Application section name passed to modules, or NULL for the default&period;
| *flags*
| Bitmask of CONF&lowbar;MFLAGS&lowbar;&ast; controlling missing&hyphen;file and errors&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
