]> git.ipfire.org Git - thirdparty/squid.git/commit - src/acl/FilledChecklist.h
Convert external_acl_type directive format tokens
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 May 2015 13:50:26 +0000 (06:50 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 May 2015 13:50:26 +0000 (06:50 -0700)
commit4e56d7f6084e46d23cee970286ea57b01b04b4d4
treee07754c5e876e30a5f835372a5170c9fe779bdbb
parent6d7a011ae0ddb0099854bd6b1c4ab1a263b01c4f
Convert external_acl_type directive format tokens

Use libformat tokenizer and string assembler mechanisms instead of
custom code for external helpers. This allows any logformat code and
transaction data to be used by the external ACL helper.

The old helper format tokens are added to the libformat for backward
compatibility.

Known issue:
  all access lists which use an exetrnal_acl_type helper now require
  setting up the ACL Checklist with an AccessLogEntry referencing any
  special token data the old format tokens needed.
12 files changed:
src/AccessLogEntry.h
src/ExternalACL.h
src/Makefile.am
src/acl/Acl.cc
src/acl/Acl.h
src/acl/Checklist.h
src/acl/FilledChecklist.h
src/cf.data.pre
src/external_acl.cc
src/format/Format.cc
src/format/Format.h
src/format/Token.cc