aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-02 14:22:18 +0000
committerlloyd <[email protected]>2006-07-02 14:22:18 +0000
commitc36e79af0a4df9f71189918040545146ebac365e (patch)
tree54513934743a4574d47ea4c65de2373b0e71f9b9 /src/init_def.cpp
parent9fc2248a9689dcb1bc43157e4955347c6fd9c996 (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 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp
index efb23d439..13687116f 100644
--- a/src/init_def.cpp
+++ b/src/init_def.cpp
@@ -17,9 +17,9 @@ namespace Botan {
/*************************************************
* Library Initialization *
*************************************************/
-LibraryInitializer::LibraryInitializer(const std::string& arg_string)
+LibraryInitializer::LibraryInitializer(const InitializerOptions& args)
{
- Init::initialize(arg_string);
+ Init::initialize(args);
}
/*************************************************
@@ -35,9 +35,8 @@ namespace Init {
/*************************************************
* Library Initialization *
*************************************************/
-void initialize(const std::string& arg_string)
+void initialize(const InitializerOptions& args)
{
- InitializerOptions args(arg_string);
Builtin_Modules modules(false);
Mutex_Factory* mutex_factory = 0;