aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/global_state.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More VC warning fixeslloyd2010-12-131-1/+1
|
* Fix return value for set_global_state_unless_setlloyd2010-08-081-0/+3
|
* Move the functions that directly manipulate the global state singletonlloyd2010-08-061-0/+88
into global_state.{h,cpp}. Move all of the functions into a new namespace Global_State_Management, though exposing global_state() into the Botan namespace for compatability. Also add new functions global_state_exists and set_global_state_unless_set which may be helpful in certain tricky initialization scenarios (eg when an application using botan also uses a library which may or may not itself use botan).