CONF_modules_free.pod 1.2 KB

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