
#use wml::openssl-macros area=docs page=CONF_modules_free

<title>Documents, CONF_modules_free(3)</title>

<h1>CONF_modules_free(3)</h1>

#use wml::imp::generic

{:
## What's this? [[s|(<STRONG>[^<].+?)</A>(</STRONG><DD>)|$1$2|sg]]
[[s|<P>\s+<P>|<P>|sg]]
[[s|<P>\s+</|</|sg]]
[[s|<DD>\s*<DT>|<DD>&nbsp;<DT>|sg]]
[[s|<DD>\s*</DL>|<DD>&nbsp;</DL>|sg]]
[[s|\[|&#91;|sg]]
[[s|\]|&#93;|sg]]

<!-- INDEX BEGIN -->

<UL>

	<LI><A HREF="#NAME">NAME</A>
	<LI><A HREF="#SYNOPSIS">SYNOPSIS</A>
	<LI><A HREF="#DESCRIPTION">DESCRIPTION</A>
	<LI><A HREF="#NOTES">NOTES</A>
	<LI><A HREF="#RETURN_VALUE">RETURN VALUE</A>
	<LI><A HREF="#SEE_ALSO">SEE ALSO</A>
	<LI><A HREF="#HISTORY">HISTORY</A>
</UL>
<!-- INDEX END -->

<HR>
<P>
<HR>
<H1><A NAME="NAME">NAME</A></H1>
<PRE> CONF_modules_free, CONF_modules_finish, CONF_modules_unload -
 OpenSSL configuration cleanup functions
</PRE>
<P>
<HR>
<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
<PRE> #include &lt;openssl/conf.h&gt;
</PRE>
<PRE> void CONF_modules_free(void);
 void CONF_modules_finish(void);
 void CONF_modules_unload(int all);
</PRE>
<P>
<HR>
<H1><A NAME="DESCRIPTION">DESCRIPTION</A></H1>
<P>
<CODE>CONF_modules_free()</CODE> closes down and frees up all memory
allocated by all configuration modules.

</P>
<P>
<CODE>CONF_modules_finish()</CODE> calls each configuration modules <STRONG>finish</STRONG> handler to free up any configuration that module may have performed.

</P>
<P>
<CODE>CONF_modules_unload()</CODE> finishes and unloads configuration
modules. If
<STRONG>all</STRONG> is set to <STRONG>0</STRONG> only modules loaded from DSOs will be unloads. If
<STRONG>all</STRONG> is <STRONG>1</STRONG> all modules, including builtin modules will be unloaded.

</P>
<P>
<HR>
<H1><A NAME="NOTES">NOTES</A></H1>
<P>
Normally applications will only call <CODE>CONF_modules_free()</CODE> at
application to tidy up any configuration performed.

</P>
<P>
<HR>
<H1><A NAME="RETURN_VALUE">RETURN VALUE</A></H1>
<P>
None of the functions return a value.

</P>
<P>
<HR>
<H1><A NAME="SEE_ALSO">SEE ALSO</A></H1>
<P>
<EM>conf(5)</EM>, <A HREF="../crypto/OPENSSL_config.html#">OPENSSL_config(3)</A>,
<A HREF="#CONF_modules_load_file_3_CONF_">CONF_modules_load_file(3), CONF_modules_load_file(3)</A>



</P>
<P>
<HR>
<H1><A NAME="HISTORY">HISTORY</A></H1>
<P>
<CODE>CONF_modules_free(),</CODE> <CODE>CONF_modules_unload(),</CODE> and
<CODE>CONF_modules_finish()</CODE> first appeared in OpenSSL 0.9.7.

</P>
:}


