Go to the documentation of this file.
8 #ifndef BOTAN_ALLOCATOR_H__
9 #define BOTAN_ALLOCATOR_H__
11 #include <botan/types.h>
36 virtual void* allocate(
size_t n) = 0;
43 virtual void deallocate(
void* ptr,
size_t n) = 0;
48 virtual std::string type()
const = 0;