xref: /openbsd-src/lib/libcrypto/man/CONF_modules_free.3 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.Dd $Mdocdate: November 11 2015 $
2.Dt CONF_MODULES_FREE 3
3.Os
4.Sh NAME
5.Nm CONF_modules_free ,
6.Nm CONF_modules_finish ,
7.Nm CONF_modules_unload
8.Nd OpenSSL configuration cleanup functions
9.Sh SYNOPSIS
10.In openssl/conf.h
11.Ft void
12.Fo CONF_modules_free
13.Fa void
14.Fc
15.Ft void
16.Fo CONF_modules_finish
17.Fa void
18.Fc
19.Ft void
20.Fo CONF_modules_unload
21.Fa "int all"
22.Fc
23.Sh DESCRIPTION
24.Fn CONF_modules_free
25closes down and frees up all memory allocated by all configuration
26modules.
27.Pp
28.Fn CONF_modules_finish
29calls the configuration
30.Sy finish
31handler of each configuration module to free up any configuration
32that module may have performed.
33.Pp
34.Fn CONF_modules_unload
35finishes and unloads configuration modules.
36If
37.Fa all
38is set to 0, only modules loaded from DSOs will be unloaded.
39If
40.Fa all
41is 1, all modules, including builtin modules, will be unloaded.
42.Sh NOTES
43Normally applications will only call
44.Fn CONF_modules_free
45at application to tidy up any configuration performed.
46.Sh RETURN VALUE
47None of the functions return a value.
48.Sh SEE ALSO
49.Xr CONF_modules_load_file 3 ,
50.Xr OPENSSL_config 3
51.Sh HISTORY
52.Fn CONF_modules_free ,
53.Fn CONF_modules_unload ,
54and
55.Fn CONF_modules_finish
56first appeared in OpenSSL 0.9.7.
57