8 #ifndef BOTAN_BASIC_ALLOC_H__
9 #define BOTAN_BASIC_ALLOC_H__
11 #include <botan/internal/mem_pool.h>
24 std::string
type()
const {
return "malloc"; }
38 std::string
type()
const {
return "locking"; }
40 void* alloc_block(
size_t);
41 void dealloc_block(
void*,
size_t);
void deallocate(void *, size_t)
Locking_Allocator(Mutex *mutex)