aboutsummaryrefslogtreecommitdiffstats
path: root/include/allocate.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-28 23:23:51 +0000
committerlloyd <[email protected]>2008-09-28 23:23:51 +0000
commita6f3801debb5239505ec2c9523a7fec5a9bbb070 (patch)
tree51adb7850c2fa18494743274b6767bd9abec957b /include/allocate.h
parentfda3e1b51fbb539e3689e23148be08783afe0e21 (diff)
Move allocator code to secalloc/allocators module
Move paralle hash construction to par_hash module in hash directory
Diffstat (limited to 'include/allocate.h')
-rw-r--r--include/allocate.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/allocate.h b/include/allocate.h
deleted file mode 100644
index efbb77291..000000000
--- a/include/allocate.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*************************************************
-* Allocator Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#ifndef BOTAN_ALLOCATOR_H__
-#define BOTAN_ALLOCATOR_H__
-
-#include <botan/types.h>
-#include <string>
-
-namespace Botan {
-
-/*************************************************
-* Allocator Interface *
-*************************************************/
-class BOTAN_DLL Allocator
- {
- public:
- static Allocator* get(bool);
-
- virtual void* allocate(u32bit) = 0;
- virtual void deallocate(void*, u32bit) = 0;
-
- virtual std::string type() const = 0;
-
- virtual void init() {}
- virtual void destroy() {}
-
- virtual ~Allocator() {}
- };
-
-}
-
-#endif