]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup: Simplify MEMPROXY_CLASS_* macros
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Oct 2014 06:58:59 +0000 (23:58 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Oct 2014 06:58:59 +0000 (23:58 -0700)
commit741c2986cddde538fdd7442db31c227239adf930
treeb83de44d8fe07cfeceedec79041b3de5a67b25c3
parente061c75e870d8fedd5d2fa68ad45004ead1b9738
Cleanup: Simplify MEMPROXY_CLASS_* macros

There are no logical changes in this patch.

* Make MEMPROXY_CLASS() macro inline its definitions.

* Remove MEMPROXY_CLASS_INLINE

* Remove last remaining mention of obsolete MEMPROXY_CLASS_INIT

* Adjust MEMPROXY_CLASS() to control its private/public definitions
  appropriate to their needs.

* Shuffle all MEMPROXY_CLASS() macro uses to the top of the relevant
  classes (in some cases renaming struct to class with public members
  if necessary) such that the new terminal private: does not affect
  existing class definitions.
82 files changed:
include/MemPool.h
squid3.dox
src/ExternalACL.h
src/ExternalACLEntry.h
src/HttpHdrCc.h
src/HttpHdrSc.h
src/HttpHdrScTarget.h
src/HttpHeader.h
src/HttpHeaderRange.h
src/HttpReply.h
src/HttpRequest.h
src/MemBlob.h
src/MemObject.h
src/Notes.h
src/StoreMetaMD5.h
src/StoreMetaObjSize.h
src/StoreMetaSTD.h
src/StoreMetaSTDLFS.h
src/StoreMetaURL.h
src/StoreMetaVary.h
src/StoreSwapLogData.h
src/URL.h
src/acl/Acl.h
src/acl/AllOf.h
src/acl/AnyOf.h
src/acl/Arp.h
src/acl/Asn.h
src/acl/AtStepData.h
src/acl/BoolOps.h
src/acl/CertificateData.h
src/acl/DestinationIp.h
src/acl/DomainData.h
src/acl/Eui64.h
src/acl/ExtUser.h
src/acl/HierCodeData.h
src/acl/HttpHeaderData.h
src/acl/HttpStatus.h
src/acl/Ip.h
src/acl/LocalIp.h
src/acl/MaxConnection.h
src/acl/MethodData.h
src/acl/NoteData.h
src/acl/ProtocolData.h
src/acl/Random.h
src/acl/RegexData.h
src/acl/SourceIp.h
src/acl/SslErrorData.h
src/acl/StringData.h
src/acl/TimeData.h
src/acl/UserData.h
src/auth/AclMaxUserIp.h
src/auth/AclProxyAuth.h
src/auth/Gadgets.h
src/auth/QueueNode.h
src/auth/UserRequest.h
src/auth/basic/User.h
src/auth/basic/UserRequest.h
src/auth/digest/User.h
src/auth/digest/UserRequest.h
src/auth/negotiate/User.h
src/auth/negotiate/UserRequest.h
src/auth/ntlm/User.h
src/auth/ntlm/UserRequest.h
src/cbdata.cc
src/comm/Connection.h
src/esi/Assign.h
src/esi/Esi.cc
src/esi/Include.h
src/esi/Literal.h
src/esi/Sequence.h
src/event.h
src/external_acl.cc
src/fs/rock/RockIoState.h
src/fs/ufs/UFSStoreState.h
src/helper/Request.h
src/htcp.cc
src/ident/AclIdent.h
src/mem_node.h
src/mime.cc
src/tests/CapturingStoreEntry.h
src/tests/stub_event.cc
src/wordlist.h