/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
POOL_MEM(int pool) { mem = get_pool_memory(pool); *mem = 0; }
~POOL_MEM() { free_pool_memory(mem); mem = NULL; }
char *c_str() const { return mem; }
+ POOLMEM *&addr() { return mem; }
int size() const { return sizeof_pool_memory(mem); }
char *check_size(int32_t size) {
mem = check_pool_memory_size(mem, size);