]> git.ipfire.org Git - thirdparty/squid.git/commit
Drop unused cbdata.h definitions and re-document
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 4 Feb 2015 21:37:28 +0000 (13:37 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 4 Feb 2015 21:37:28 +0000 (13:37 -0800)
commitffc6d4e9f4ae9f36e9b3d77a83b202d8ef3dae26
treef4b8156df34c936b2bf9ebfb231c7cf8dc823ea7
parentf205a92e4812da00e1d7e980b15f3518cf5124b0
Drop unused cbdata.h definitions and re-document

Remove the now unused cbdataFree, cbdataAlloc, CBDATA_TYPE,
CBDATA_INIT_TYPE, CBDATA_INIT_TYPE_FREECB symbols.

Re-write CBDATA documentation to reflect the current available
API symbols, their usage, and mechanisms that should be used
instead of CBDATA such as AsyncJob/Call and RefCount.

Along with some doxygen polishing to meet currently agreed
style for how to document major code features.

Make generic_cbdata::data a private member. The constructor
and unwrap() operator provide all necessary public API.

Replace store_client.cc use of cbdataInternalLock/Unlock with
a CbcPointer<> smart pointer equivalent. The use remains an
abuse of CBDATA, just no longer directly referencing the
internal API functions.
src/cbdata.cc
src/cbdata.h
src/store_client.cc