1*2175Sjp161948=pod
2*2175Sjp161948
3*2175Sjp161948=head1 NAME
4*2175Sjp161948
5*2175Sjp161948 CONF_modules_free, CONF_modules_unload, CONF_modules_finish -
6*2175Sjp161948 OpenSSL configuration cleanup functions
7*2175Sjp161948
8*2175Sjp161948=head1 SYNOPSIS
9*2175Sjp161948
10*2175Sjp161948 #include <openssl/conf.h>
11*2175Sjp161948
12*2175Sjp161948 void CONF_modules_free(void);
13*2175Sjp161948 void CONF_modules_unload(int all);
14*2175Sjp161948 void CONF_modules_finish(void);
15*2175Sjp161948
16*2175Sjp161948=head1 DESCRIPTION
17*2175Sjp161948
18*2175Sjp161948CONF_modules_free() closes down and frees up all memory allocated by all
19*2175Sjp161948configuration modules.
20*2175Sjp161948
21*2175Sjp161948CONF_modules_finish() calls each configuration modules B<finish> handler
22*2175Sjp161948to free up any configuration that module may have performed.
23*2175Sjp161948
24*2175Sjp161948CONF_modules_unload() finishes and unloads configuration modules. If
25*2175Sjp161948B<all> is set to B<0> only modules loaded from DSOs will be unloads. If
26*2175Sjp161948B<all> is B<1> all modules, including builtin modules will be unloaded.
27*2175Sjp161948
28*2175Sjp161948=head1 NOTES
29*2175Sjp161948
30*2175Sjp161948Normally applications will only call CONF_modules_free() at application to
31*2175Sjp161948tidy up any configuration performed.
32*2175Sjp161948
33*2175Sjp161948=head1 RETURN VALUE
34*2175Sjp161948
35*2175Sjp161948None of the functions return a value.
36*2175Sjp161948
37*2175Sjp161948=head1 SEE ALSO
38*2175Sjp161948
39*2175Sjp161948L<conf(5)|conf(5)>, L<OPENSSL_config(3)|OPENSSL_config(3)>,
40*2175Sjp161948L<CONF_modules_load_file(3), CONF_modules_load_file(3)>
41*2175Sjp161948
42*2175Sjp161948=head1 HISTORY
43*2175Sjp161948
44*2175Sjp161948CONF_modules_free(), CONF_modules_unload(), and CONF_modules_finish()
45*2175Sjp161948first appeared in OpenSSL 0.9.7.
46*2175Sjp161948
47*2175Sjp161948=cut
48