| Botan
    1.10.16
    | 
#include <init.h>
| Public Member Functions | |
| LibraryInitializer (const std::string &options="") | |
| ~LibraryInitializer () | |
| Static Public Member Functions | |
| static void | deinitialize () | 
| static void | initialize (const std::string &options="") | 
This class represents the Library Initialization/Shutdown Object. It has to exceed the lifetime of any Botan object used in an application. You can call initialize/deinitialize or use LibraryInitializer in the RAII style.
| 
 | inline | 
Initialize the library
| options | a string listing initialization options | 
Definition at line 40 of file init.h.
References initialize().
| 
 | inline | 
| 
 | static | 
Shutdown the library
Definition at line 71 of file init.cpp.
References Botan::Global_State_Management::set_global_state().
Referenced by initialize(), and ~LibraryInitializer().
| 
 | static | 
Initialize the library
| options | a string listing initialization options | 
Definition at line 18 of file init.cpp.
References deinitialize(), Botan::Global_State_Management::global_state(), Botan::Library_State::initialize(), Botan::Global_State_Management::set_global_state(), and Botan::split_on().
Referenced by LibraryInitializer().
 1.8.13
 1.8.13