/*
- * $Id: ACLARP.cc,v 1.2 2003/03/01 11:04:45 hno Exp $
+ * $Id: ACLARP.cc,v 1.3 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
assert (!old.data);
}
-MemPool *ACLARP::Pool(NULL);
+MemPool (*ACLARP::Pool)(NULL);
void *
ACLARP::operator new (size_t byteCount)
{
/*
- * $Id: ACLCertificateData.cc,v 1.4 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLCertificateData.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "authenticate.h"
#include "ACLChecklist.h"
-MemPool *ACLCertificateData::Pool(NULL);
+MemPool (*ACLCertificateData::Pool)(NULL);
void *
ACLCertificateData::operator new (size_t byteCount)
{
/*
- * $Id: ACLDestinationDomain.cc,v 1.4 2003/07/11 01:40:34 robertc Exp $
+ * $Id: ACLDestinationDomain.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "ACLDomainData.h"
#include "HttpRequest.h"
-MemPool *ACLDestinationDomain::Pool(NULL);
+MemPool (*ACLDestinationDomain::Pool)(NULL);
void *
ACLDestinationDomain::operator new (size_t byteCount)
{
#include "ACLChecklist.h"
#include "HttpRequest.h"
-MemPool *ACLDestinationIP::Pool(NULL);
+MemPool (*ACLDestinationIP::Pool)(NULL);
void *
ACLDestinationIP::operator new (size_t byteCount)
{
/*
- * $Id: ACLDomainData.cc,v 1.3 2003/02/21 22:50:04 robertc Exp $
+ * $Id: ACLDomainData.cc,v 1.4 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "authenticate.h"
#include "ACLChecklist.h"
-MemPool *ACLDomainData::Pool(NULL);
+MemPool (*ACLDomainData::Pool)(NULL);
void *
ACLDomainData::operator new (size_t byteCount)
{
/*
- * $Id: ACLExtUser.cc,v 1.2 2003/07/11 01:40:34 robertc Exp $
+ * $Id: ACLExtUser.cc,v 1.3 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "client_side.h"
#include "HttpRequest.h"
-MemPool *ACLExtUser::Pool(NULL);
+MemPool (*ACLExtUser::Pool)(NULL);
void *
ACLExtUser::operator new (size_t byteCount)
{
return !splayLastResult;
}
-MemPool *acl_ip_data::Pool(NULL);
+MemPool (*acl_ip_data::Pool)(NULL);
void *
acl_ip_data::operator new (size_t byteCount)
{
#include "ACLUserData.h"
#include "client_side.h"
-MemPool *ACLIdent::Pool(NULL);
+MemPool (*ACLIdent::Pool)(NULL);
void *
ACLIdent::operator new (size_t byteCount)
{
/*
- * $Id: ACLMaxConnection.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLMaxConnection.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
ACLMaxConnection::ACLMaxConnection (ACLMaxConnection const & old) :class_ (old.class_), limit (old.limit)
{}
-MemPool *ACLMaxConnection::Pool(NULL);
+MemPool (*ACLMaxConnection::Pool)(NULL);
void *
ACLMaxConnection::operator new (size_t byteCount)
{
/*
- * $Id: ACLMaxUserIP.cc,v 1.2 2003/03/10 20:12:43 robertc Exp $
+ * $Id: ACLMaxUserIP.cc,v 1.3 2003/07/14 08:21:57 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
ACLMaxUserIP::ACLMaxUserIP (ACLMaxUserIP const & old) :class_ (old.class_), maximum (old.maximum), flags (old.flags)
{}
-MemPool *ACLMaxUserIP::Pool(NULL);
+MemPool (*ACLMaxUserIP::Pool)(NULL);
void *
ACLMaxUserIP::operator new (size_t byteCount)
{
/*
- * $Id: ACLMethodData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLMethodData.cc,v 1.2 2003/07/14 08:21:57 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "ACLMethodData.h"
#include "ACLChecklist.h"
-MemPool *ACLMethodData::Pool(NULL);
+MemPool (*ACLMethodData::Pool)(NULL);
void *
ACLMethodData::operator new (size_t byteCount)
{
#include "ACLMyIP.h"
#include "ACLChecklist.h"
-MemPool *ACLMyIP::Pool(NULL);
+MemPool (*ACLMyIP::Pool)(NULL);
void *
ACLMyIP::operator new (size_t byteCount)
{
/*
- * $Id: ACLProtocolData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLProtocolData.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "ACLProtocolData.h"
#include "ACLChecklist.h"
-MemPool *ACLProtocolData::Pool(NULL);
+MemPool (*ACLProtocolData::Pool)(NULL);
void *
ACLProtocolData::operator new (size_t byteCount)
{
#include "client_side.h"
#include "HttpRequest.h"
-MemPool *ACLProxyAuth::Pool(NULL);
+MemPool (*ACLProxyAuth::Pool)(NULL);
void *
ACLProxyAuth::operator new (size_t byteCount)
{
/*
- * $Id: ACLRegexData.cc,v 1.4 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLRegexData.cc,v 1.5 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "ACLChecklist.h"
#include "ACL.h"
-MemPool *ACLRegexData::Pool(NULL);
+MemPool (*ACLRegexData::Pool)(NULL);
void *
ACLRegexData::operator new (size_t byteCount)
{
/*
- * $Id: ACLReplyHeaderStrategy.h,v 1.2 2003/06/19 13:12:01 robertc Exp $
+ * $Id: ACLReplyHeaderStrategy.h,v 1.3 2003/07/14 08:21:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
}
template <http_hdr_type header>
-ACLReplyHeaderStrategy<header> * ACLReplyHeaderStrategy<header>::Instance_(NULL);
+ACLReplyHeaderStrategy<header> (* ACLReplyHeaderStrategy<header>::Instance_)(NULL);
#endif /* SQUID_REPLYHEADERSTRATEGY_H */
/*
- * $Id: ACLRequestHeaderStrategy.h,v 1.5 2003/07/11 01:40:33 robertc Exp $
+ * $Id: ACLRequestHeaderStrategy.h,v 1.6 2003/07/14 08:21:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
}
template <http_hdr_type header>
-ACLRequestHeaderStrategy<header> * ACLRequestHeaderStrategy<header>::Instance_ (NULL);
+ACLRequestHeaderStrategy<header> (* ACLRequestHeaderStrategy<header>::Instance_) (NULL);
#endif /* SQUID_REQUESTHEADERSTRATEGY_H */
#include "ACLSourceIP.h"
#include "ACLChecklist.h"
-MemPool *ACLSourceIP::Pool(NULL);
+MemPool (*ACLSourceIP::Pool)(NULL);
void *
ACLSourceIP::operator new (size_t byteCount)
{
/*
- * $Id: ACLStrategised.h,v 1.3 2003/02/25 12:22:34 robertc Exp $
+ * $Id: ACLStrategised.h,v 1.4 2003/07/14 08:21:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
/* implementation follows */
template <class MatchType>
-MemPool *ACLStrategised<MatchType>::Pool(NULL);
+MemPool (*ACLStrategised<MatchType>::Pool)(NULL);
template <class MatchType>
void *
/*
- * $Id: ACLStringData.cc,v 1.1 2003/02/25 12:16:55 robertc Exp $
+ * $Id: ACLStringData.cc,v 1.2 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "ACLStringData.h"
#include "ACLChecklist.h"
-MemPool *ACLStringData::Pool(NULL);
+MemPool (*ACLStringData::Pool)(NULL);
void *
ACLStringData::operator new (size_t byteCount)
{
/*
- * $Id: ACLTimeData.cc,v 1.2 2003/02/21 22:50:04 robertc Exp $
+ * $Id: ACLTimeData.cc,v 1.3 2003/07/14 08:21:57 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "authenticate.h"
#include "ACLChecklist.h"
-MemPool *ACLTimeData::Pool(NULL);
+MemPool (*ACLTimeData::Pool)(NULL);
void *
ACLTimeData::operator new (size_t byteCount)
{
#include "authenticate.h"
#include "ACLChecklist.h"
-MemPool *ACLUserData::Pool(NULL);
+MemPool (*ACLUserData::Pool)(NULL);
void *
ACLUserData::operator new (size_t byteCount)
{
/*
- * $Id: HttpHeader.cc,v 1.90 2003/07/10 17:48:04 hno Exp $
+ * $Id: HttpHeader.cc,v 1.91 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 55 HTTP Header
* AUTHOR: Alex Rousskov
return HeadersAttrs[id].name;
}
-MemPool *HttpHeaderEntry::Pool(NULL);
+MemPool (*HttpHeaderEntry::Pool)(NULL);
void *
HttpHeaderEntry::operator new (size_t byteCount)
{
/*
- * $Id: HttpReply.cc,v 1.60 2003/05/11 13:53:03 hno Exp $
+ * $Id: HttpReply.cc,v 1.61 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 58 HTTP Reply (Response)
* AUTHOR: Alex Rousskov
return reply->content_length;
}
-MemPool *HttpReply::Pool(NULL);
+MemPool (*HttpReply::Pool)(NULL);
void *
HttpReply::operator new (size_t byteCount)
{
/*
- * $Id: acl.cc,v 1.307 2003/05/17 17:35:05 hno Exp $
+ * $Id: acl.cc,v 1.308 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
/* to be split into separate files in the future */
-MemPool *ACLList::Pool(NULL);
+MemPool (*ACLList::Pool)(NULL);
void *
ACLList::operator new (size_t byteCount)
{
/*
- * $Id: asn.cc,v 1.93 2003/06/19 13:12:04 robertc Exp $
+ * $Id: asn.cc,v 1.94 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 53 AS Number handling
* AUTHOR: Duane Wessels, Kostas Anagnostakis
return 0;
}
-MemPool *ACLASN::Pool(NULL);
+MemPool (*ACLASN::Pool)(NULL);
void *
ACLASN::operator new (size_t byteCount)
{
/*
- * $Id: auth_digest.cc,v 1.25 2003/07/11 01:40:41 robertc Exp $
+ * $Id: auth_digest.cc,v 1.26 2003/07/14 08:22:01 robertc Exp $
*
* DEBUG: section 29 Authenticator
* AUTHOR: Robert Collins
}
-MemPool *digest_user_h::Pool(NULL);
+MemPool (*digest_user_h::Pool)(NULL);
void *
digest_user_h::operator new (size_t byteCount)
{
digest_user_h::digest_user_h () : username (NULL), HA1created (0)
{}
-MemPool *digest_request_h::Pool(NULL);
+MemPool (*digest_request_h::Pool)(NULL);
void *
digest_request_h::operator new (size_t byteCount)
{
/*
- * $Id: auth_ntlm.cc,v 1.32 2003/07/11 01:40:42 robertc Exp $
+ * $Id: auth_ntlm.cc,v 1.33 2003/07/14 08:21:58 robertc Exp $
*
* DEBUG: section 29 NTLM Authenticator
* AUTHOR: Robert Collins
return;
}
-MemPool *ntlm_request_t::Pool(NULL);
+MemPool (*ntlm_request_t::Pool)(NULL);
void *
ntlm_request_t::operator new (size_t byteCount)
{
/*
- * $Id: cbdata.cc,v 1.56 2003/03/10 04:56:36 robertc Exp $
+ * $Id: cbdata.cc,v 1.57 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 45 Callback Data Registry
* ORIGINAL AUTHOR: Duane Wessels
size_t dataSize() const { return sizeof(data);}
- static const long Cookie = (long)0xDEADBEEF;
+ static const long Cookie;
static long MakeOffset();
static const long Offset;
};
+const long cbdata::Cookie((long)0xDEADBEEF);
const long cbdata::Offset(MakeOffset());
long
/*
- * $Id: comm.cc,v 1.381 2003/07/10 01:31:50 robertc Exp $
+ * $Id: comm.cc,v 1.382 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
/* New and improved stuff */
-MemPool *CommCallbackData::Pool(NULL);
+MemPool (*CommCallbackData::Pool)(NULL);
void *
CommCallbackData::operator new (size_t byteCount)
{
delete this;
}
-MemPool *CommReadCallbackData::Pool(NULL);
+MemPool (*CommReadCallbackData::Pool)(NULL);
void *
CommReadCallbackData::operator new (size_t byteCount)
{
delete this;
}
-MemPool *CommAcceptCallbackData::Pool(NULL);
+MemPool (*CommAcceptCallbackData::Pool)(NULL);
void *
CommAcceptCallbackData::operator new (size_t byteCount)
{
delete this;
}
-MemPool *CommFillCallbackData::Pool(NULL);
+MemPool (*CommFillCallbackData::Pool)(NULL);
void *
CommFillCallbackData::operator new (size_t byteCount)
{
}
-MemPool *CommWriteCallbackData::Pool(NULL);
+MemPool (*CommWriteCallbackData::Pool)(NULL);
void *
CommWriteCallbackData::operator new (size_t byteCount)
{
/*
- * $Id: debug.cc,v 1.94 2003/07/11 04:55:40 robertc Exp $
+ * $Id: debug.cc,v 1.95 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
CurrentDebug = NULL;
}
-std::ostringstream *Debug::CurrentDebug = NULL;
+std::ostringstream (*Debug::CurrentDebug)(NULL);
/*
- * $Id: external_acl.cc,v 1.50 2003/07/13 23:00:09 robertc Exp $
+ * $Id: external_acl.cc,v 1.51 2003/07/14 08:21:56 robertc Exp $
*
* DEBUG: section 82 External ACL
* AUTHOR: Henrik Nordstrom, MARA Systems AB
assert (!old.data);
}
-MemPool *ACLExternal::Pool(NULL);
+MemPool (*ACLExternal::Pool)(NULL);
void *
ACLExternal::operator new (size_t byteCount)
{