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