Tree.h
Definition: parse.c:104
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:311
Answer winningAction() const
Returns the corresponding action after a successful tree match.
Definition: Tree.cc:17
Definition: Acl.h:122
std::vector< Answer > Actions
if not empty, contains actions corresponding to InnerNode::nodes
Definition: Tree.h:48
Definition: Checklist.h:27
Answer actionAt(const Nodes::size_type pos) const
computes action that corresponds to the position of the matched rule
Definition: Tree.cc:32
CBDATA_CLASS(Tree)
virtual bool bannedAction(ACLChecklist *, Nodes::const_iterator) const override
Acl::OrNode API.
Definition: Tree.cc:61
void add(ACL *rule, const Answer &action)
appends and takes control over the rule with a given action
Definition: Tree.cc:44
SBufList treeDump(const char *name, ActionToStringConverter converter) const
Definition: Tree.h:60
Definition: BoolOps.h:59