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