Go to the documentation of this file.
25 node->prepareForUse();
38 nodes.push_back(
node);
54 const bool negated = (*t ==
'!');
58 debugs(28, 3,
"looking for ACL " << t);
83 for (Nodes::const_iterator i = nodes.begin(); i != nodes.end(); ++i)
84 rv.push_back(
SBuf((*i)->name));
91 return doMatch(checklist, nodes.begin());
97 debugs(28, 5,
"checking " << name <<
" at " << (pos-nodes.begin()));
98 const int result = doMatch(checklist, pos);
100 debugs(28, 3,
"checked: " << name <<
" = " << result << extra);
static char * strtokFile()
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
static ACL * FindByName(const char *name)
std::list< SBuf > SBufList
void aclRegister(ACL *acl)
void add(ACL *node)
appends the node to the collection and takes control over it
bool asyncInProgress() const
async call has been started and has not finished (or failed) yet
virtual bool empty() const
Implements the "not" or "!" operator.
bool resumeMatchingAt(ACLChecklist *checklist, Acl::Nodes::const_iterator pos) const
Resumes matching (suspended by an async call) at the given position.
std::vector< ACL * > nodes
children nodes of this intermediate node
virtual SBufList dump() const
virtual void prepareForUse()
char config_input_line[BUFSIZ]
#define debugs(SECTION, LEVEL, CONTENT)