aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-18 18:33:19 +0000
committerlloyd <[email protected]>2006-05-18 18:33:19 +0000
commita2c99d3270eb73ef2db5704fc54356c6b75096f8 (patch)
treead3d6c4fcc8dd0f403f8105598943616246fe172 /include/modules.h
Initial checkin1.5.6
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
new file mode 100644
index 000000000..499782c69
--- /dev/null
+++ b/include/modules.h
@@ -0,0 +1,39 @@
+/*************************************************
+* Module Factory Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_MODULE_FACTORIES_H__
+#define BOTAN_MODULE_FACTORIES_H__
+
+#include <vector>
+#include <string>
+#include <map>
+
+namespace Botan {
+
+/*************************************************
+* Forward Declarations *
+*************************************************/
+class Mutex_Factory;
+class Timer;
+class EntropySource;
+class Engine;
+class Allocator;
+
+namespace Modules {
+
+/*************************************************
+* Get the module objects *
+*************************************************/
+class Mutex_Factory* get_mutex_factory();
+class Timer* get_timer();
+std::vector<EntropySource*> get_entropy_sources();
+std::vector<Engine*> get_engines();
+std::map<std::string, Allocator*> get_allocators();
+
+}
+
+}
+
+#endif