aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/modules.h')
-rw-r--r--src/core/modules.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/modules.h b/src/core/modules.h
index 69a6e1ffb..abbfbb2c6 100644
--- a/src/core/modules.h
+++ b/src/core/modules.h
@@ -7,6 +7,7 @@
#define BOTAN_MODULE_FACTORIES_H__
#include <botan/init.h>
+#include <botan/mutex.h>
#include <string>
#include <vector>
@@ -22,7 +23,9 @@ class BOTAN_DLL Modules
virtual std::string default_allocator() const = 0;
- virtual std::vector<class Allocator*> allocators() const = 0;
+ virtual std::vector<class Allocator*>
+ allocators(Mutex_Factory*) const = 0;
+
virtual std::vector<class Engine*> engines() const = 0;
virtual ~Modules() {}
@@ -38,7 +41,7 @@ class BOTAN_DLL Builtin_Modules : public Modules
std::string default_allocator() const;
- std::vector<class Allocator*> allocators() const;
+ std::vector<class Allocator*> allocators(Mutex_Factory*) const;
std::vector<class Engine*> engines() const;
Builtin_Modules(const InitializerOptions&);