diff options
author | lloyd <[email protected]> | 2008-09-28 23:23:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 23:23:51 +0000 |
commit | a6f3801debb5239505ec2c9523a7fec5a9bbb070 (patch) | |
tree | 51adb7850c2fa18494743274b6767bd9abec957b /include/allocate.h | |
parent | fda3e1b51fbb539e3689e23148be08783afe0e21 (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.h | 35 |
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 |