]> git.ipfire.org Git - thirdparty/squid.git/commit - src/acl/Gadgets.h
Split ACL.{cc,h} and src/acl_noncore.cc into acl/Acl and acl/Gadgets, moving
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 8 Mar 2009 19:45:44 +0000 (13:45 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 8 Mar 2009 19:45:44 +0000 (13:45 -0600)
commitc15d448c0ca84377717b20bfd692cb31074f6479
tree903b5e59ef9d3561f5551081584d2a994cb0cae5
parent351fe86d54733fd51afc5acf8d9a7fb3cdc1f028
Split ACL.{cc,h} and src/acl_noncore.cc into acl/Acl and acl/Gadgets, moving
high-level global functions into Gadgets and leaving basic API types in Acl.

Moved horrific acl_access::containsPURGE into aclPurgeMethodInUse to avoid
exposing basic ACL API to "strategy" templates and HTTP-specific PURGE method.
The aclPurgeMethodInUse global lives in acl/libacls, which is a top-level
library that already contains a lot of data-specific code.

Context: SourceLayout: acl/, take 1
src/acl/Acl.cc [moved from src/acl.cc with 90% similarity]
src/acl/Acl.h [moved from src/ACL.h with 75% similarity]
src/acl/Gadgets.cc [moved from src/acl_noncore.cc with 91% similarity]
src/acl/Gadgets.h [new file with mode: 0644]