TransactionInitiator.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_ACL_TRANSACTION_INITIATOR_H
10#define SQUID_ACL_TRANSACTION_INITIATOR_H
11
12#include "acl/Acl.h"
13#include "acl/Checklist.h"
14#include "XactionInitiator.h"
15
16namespace Acl
17{
18
21{
23
24public:
25 TransactionInitiator(char const *);
26
27 virtual char const *typeString() const;
28 virtual void parse();
29 virtual int match(ACLChecklist *checklist);
30 virtual bool requiresRequest() const { return true; }
31 virtual SBufList dump() const;
32 virtual bool empty () const;
33
34protected:
35 char const *class_;
38};
39
40} // namespace Acl
41
42#endif /* SQUID_ACL_TRANSACTION_INITIATOR_H */
43
Definition: Acl.h:40
transaction_initiator ACL
virtual void parse()
parses node representation in squid.conf; dies on failures
virtual bool requiresRequest() const
whether our (i.e. shallow) match() requires checklist to have a request
virtual char const * typeString() const
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
MEMPROXY_CLASS(TransactionInitiator)
XactionInitiator::Initiators initiators_
virtual SBufList dump() const
uint32_t Initiators
Initiator set.
Definition: Acl.cc:31
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors