aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/global_state.h
Commit message (Collapse)AuthorAgeFilesLines
* Move the functions that directly manipulate the global state singletonlloyd2010-08-061-0/+69
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).