]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side.cc
cbdata now have a per-type free function rather than per allocation.
authorhno <>
Sat, 3 Mar 2001 17:39:29 +0000 (17:39 +0000)
committerhno <>
Sat, 3 Mar 2001 17:39:29 +0000 (17:39 +0000)
commit72711e319152bb701c15833f72a8aab2d5035bdc
treee577ffbb5fc00ce0a68ee349cbae58bd586cc392
parent6fd26c1830dcc3c95af0c497c98eb45c50e8f0ac
cbdata now have a per-type free function rather than per allocation.

Changes to the API:

To initialize a new CBDATA type with a free function:

   CBDATA_INIT_TYPE_FREECB(typename, freefunction);

To allocate a cbdata structure

   var = cbdataAlloc(typename);
   (was CBDATA_ALLOC(typename, freefunc) )
46 files changed:
doc/Programming-Guide/prog-guide.sgml
src/acl.cc
src/asn.cc
src/auth/basic/auth_basic.cc
src/auth/digest/auth_digest.cc
src/auth/ntlm/auth_ntlm.cc
src/cache_cf.cc
src/cbdata.cc
src/client_side.cc
src/comm.cc
src/defines.h
src/enums.h
src/errorpage.cc
src/forward.cc
src/fqdncache.cc
src/fs/aufs/store_dir_aufs.cc
src/fs/aufs/store_io_aufs.cc
src/fs/coss/store_dir_coss.cc
src/fs/coss/store_io_coss.cc
src/fs/diskd/store_dir_diskd.cc
src/fs/diskd/store_io_diskd.cc
src/fs/ufs/store_dir_ufs.cc
src/fs/ufs/store_io_ufs.cc
src/ftp.cc
src/gopher.cc
src/helper.cc
src/http.cc
src/ident.cc
src/ipcache.cc
src/neighbors.cc
src/net_db.cc
src/peer_digest.cc
src/peer_select.cc
src/protos.h
src/redirect.cc
src/repl/heap/store_repl_heap.cc
src/repl/lru/store_repl_lru.cc
src/ssl.cc
src/stat.cc
src/store_client.cc
src/store_digest.cc
src/store_swapout.cc
src/tunnel.cc
src/urn.cc
src/wais.cc
src/whois.cc