diff options
author | lloyd <[email protected]> | 2006-07-02 14:22:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-07-02 14:22:18 +0000 |
commit | c36e79af0a4df9f71189918040545146ebac365e (patch) | |
tree | 54513934743a4574d47ea4c65de2373b0e71f9b9 /include | |
parent | 9fc2248a9689dcb1bc43157e4955347c6fd9c996 (diff) |
Move InitializerOptions out of the Init namespace
Alter the initialization functions to take an InitializerOptions object
instead of a std::string
Diffstat (limited to 'include')
-rw-r--r-- | include/init.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/init.h b/include/init.h index 7104df49c..f00f97f9e 100644 --- a/include/init.h +++ b/include/init.h @@ -11,8 +11,6 @@ namespace Botan { -namespace Init { - /************************************************* * Options for initializing the library * *************************************************/ @@ -31,23 +29,26 @@ class InitializerOptions }; /************************************************* -* Main Library Initialization/Shutdown Functions * -*************************************************/ -void initialize(const std::string& = ""); -void deinitialize(); - -} - -/************************************************* * Library Initialization/Shutdown Object * *************************************************/ class LibraryInitializer { public: - LibraryInitializer(const std::string& = ""); + LibraryInitializer(const InitializerOptions&); ~LibraryInitializer(); }; +namespace Init { + +/************************************************* +* Main Library Initialization/Shutdown Functions * +*************************************************/ +void initialize(const InitializerOptions&); +void deinitialize(); + +} + + } #endif |