From: hno <> Date: Sat, 6 Jan 2001 18:14:42 +0000 (+0000) Subject: CREATE_CBDATA moved back to cbdata.c. It is and should only be used from X-Git-Tag: SQUID_3_0_PRE1~1686 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=173e9e78d6cc8a045fb0aeb69dd3d8f7ba39eda3;p=thirdparty%2Fsquid.git CREATE_CBDATA moved back to cbdata.c. It is and should only be used from there. --- diff --git a/src/cbdata.cc b/src/cbdata.cc index 9e0bacc00c..f6ea50eed2 100644 --- a/src/cbdata.cc +++ b/src/cbdata.cc @@ -1,6 +1,6 @@ /* - * $Id: cbdata.cc,v 1.32 2001/01/05 09:51:36 adrian Exp $ + * $Id: cbdata.cc,v 1.33 2001/01/06 11:14:42 hno Exp $ * * DEBUG: section 45 Callback Data Registry * ORIGINAL AUTHOR: Duane Wessels @@ -127,9 +127,7 @@ cbdataInit(void) cachemgrRegister("cbdata", "Callback Data Registry Contents", cbdataDump, 0, 1); -/* TEMPORARILY DEFINED IN squid.h - * #define CREATE_CBDATA(type) cbdataInitType(CBDATA_##type, #type, sizeof(type)) - */ +#define CREATE_CBDATA(type) cbdataInitType(CBDATA_##type, #type, sizeof(type)) CREATE_CBDATA(acl_access); CREATE_CBDATA(aclCheck_t); CREATE_CBDATA(clientHttpRequest); diff --git a/src/squid.h b/src/squid.h index 94932deb87..e3ef126fcb 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.207 2001/01/05 09:51:40 adrian Exp $ + * $Id: squid.h,v 1.208 2001/01/06 11:14:42 hno Exp $ * * AUTHOR: Duane Wessels * @@ -432,4 +432,3 @@ struct rusage { #define INDEXSD(i) (&Config.cacheSwap.swapDirs[(i)]) #endif /* SQUID_H */ -#define CREATE_CBDATA(type) cbdataInitType(CBDATA_##type, #type, sizeof(type))