|
Botan 1.10.17
|
Functions | |
| Library_State & | global_state () |
| bool | global_state_exists () |
| void | set_global_state (Library_State *new_state) |
| bool | set_global_state_unless_set (Library_State *new_state) |
| Library_State * | swap_global_state (Library_State *new_state) |
Namespace for management of the global state
| BOTAN_DLL Library_State & Botan::Global_State_Management::global_state | ( | ) |
Access the global library state
Definition at line 32 of file global_state.cpp.
References global_state(), and Botan::Library_State::initialize().
Referenced by global_state().
| BOTAN_DLL bool Botan::Global_State_Management::global_state_exists | ( | ) |
Query if the library is currently initialized
Definition at line 84 of file global_state.cpp.
References global_state_exists().
Referenced by global_state_exists().
| BOTAN_DLL void Botan::Global_State_Management::set_global_state | ( | Library_State * | state | ) |
Set the global state object
| state | the new global state to use |
Definition at line 49 of file global_state.cpp.
References set_global_state(), and swap_global_state().
Referenced by Botan::LibraryInitializer::deinitialize(), Botan::LibraryInitializer::initialize(), and set_global_state().
| BOTAN_DLL bool Botan::Global_State_Management::set_global_state_unless_set | ( | Library_State * | state | ) |
Set the global state object unless it is already set
| state | the new global state to use |
Definition at line 57 of file global_state.cpp.
References set_global_state_unless_set(), and swap_global_state().
Referenced by set_global_state_unless_set().
| BOTAN_DLL Library_State * Botan::Global_State_Management::swap_global_state | ( | Library_State * | new_state | ) |
Swap the current state for another
| new_state | the new state object to use |
Definition at line 74 of file global_state.cpp.
References swap_global_state().
Referenced by set_global_state(), set_global_state_unless_set(), and swap_global_state().