]> git.ipfire.org Git - thirdparty/squid.git/commit
Syntax glue to get the MemPool API back in shape.
authorhno <>
Mon, 4 Sep 2006 03:05:19 +0000 (03:05 +0000)
committerhno <>
Mon, 4 Sep 2006 03:05:19 +0000 (03:05 +0000)
commit04eb06897f633cf11414385f2483880d5cb3e3ac
tree0853d68b6b34eabece95105fa05257177f3c513a
parentf44aceb2fe653ebe3471126df8caacaa3a574bf3
Syntax glue to get the MemPool API back in shape.

Standalone pool:
  MemAllocator *pool = memPoolCreate(name, size)

Pooled class just as before;

class XXX {
public:
  MEMPROXY_CLASS(XXX)
  ...
}

MEMPROXY_CLASS_INLINE(XXX)

The other MemAllocator derived classes is considered private and should
not be used outside MemPool.cc
17 files changed:
include/MemPool.h
src/ACLStrategised.h
src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc
src/DiskIO/DiskThreads/aiops.cc
src/Store.h
src/auth/digest/auth_digest.cc
src/cbdata.cc
src/comm.cc
src/fs/coss/StoreFScoss.cc
src/htcp.cc
src/mem.cc
src/pconn.cc
src/repl/lru/store_repl_lru.cc
src/store.cc
src/tools.cc
test-suite/MemPoolTest.cc
test-suite/test_tools.cc