Tree.h
Definition: parse.c:104
Answer winningAction() const
Returns the corresponding action after a successful tree match.
Definition: Tree.cc:15
void push_back(char)
Append a single character. The character may be NUL (\0).
Definition: SBuf.cc:208
Definition: Acl.h:53
std::vector< Answer > Actions
if not empty, contains actions corresponding to InnerNode::nodes
Definition: Tree.h:48
Definition: Checklist.h:30
Answer actionAt(const Nodes::size_type pos) const
computes action that corresponds to the position of the matched rule
Definition: Tree.cc:30
SBuf text("GET http://resource.com/path HTTP/1.1\r\n" "Host: resource.com\r\n" "Cookie: laijkpk3422r j1noin \r\n" "\r\n")
bool bannedAction(ACLChecklist *, Nodes::const_iterator) const override
Acl::OrNode API.
Definition: Tree.cc:59
SBufList treeDump(const char *name, ActionToStringConverter converter) const
Definition: Tree.h:60
void add(Acl::Node *rule, const Answer &action)
appends and takes control over the rule with a given action
Definition: Tree.cc:42
Definition: BoolOps.h:58
MEMPROXY_CLASS(Tree)
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products