diff options
author | lloyd <[email protected]> | 2008-11-08 20:02:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 20:02:45 +0000 |
commit | 39f29e53a346eed9671a108b6aa59eb78b1dc084 (patch) | |
tree | 7a94faf449795858707efc3a010b6d3d6b6a5e23 /src/core | |
parent | c0e3dc424479a09f9e320625d64d230cc952b22b (diff) |
Move allocate.h with related code in alloc
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/allocate.h | 35 | ||||
-rw-r--r-- | src/core/info.txt | 1 |
2 files changed, 0 insertions, 36 deletions
diff --git a/src/core/allocate.h b/src/core/allocate.h deleted file mode 100644 index efbb77291..000000000 --- a/src/core/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 diff --git a/src/core/info.txt b/src/core/info.txt index 7fe58239f..21eb5e0d7 100644 --- a/src/core/info.txt +++ b/src/core/info.txt @@ -9,7 +9,6 @@ utils </requires> <add> -allocate.h botan.h data_src.cpp buf_comp.h |