TransactionInitiator.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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_SRC_ACL_TRANSACTIONINITIATOR_H
10 #define SQUID_SRC_ACL_TRANSACTIONINITIATOR_H
11 
12 #include "acl/Acl.h"
13 #include "acl/Checklist.h"
14 #include "XactionInitiator.h"
15 
16 namespace Acl
17 {
18 
21 {
23 
24 public:
25  TransactionInitiator(char const *);
26 
27  char const *typeString() const override;
28  void parse() override;
29  int match(ACLChecklist *checklist) override;
30  bool requiresRequest() const override { return true; }
31  SBufList dump() const override;
32  bool empty () const override;
33 
34 protected:
35  char const *class_;
38 };
39 
40 } // namespace Acl
41 
42 #endif /* SQUID_SRC_ACL_TRANSACTIONINITIATOR_H */
43 
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
SBufList dump() const override
transaction_initiator ACL
std::list< SBuf > SBufList
Definition: forward.h:22
uint32_t Initiators
Initiator set.
bool empty() const override
Definition: Acl.cc:33
void parse() override
parses node representation in squid.conf; dies on failures
XactionInitiator::Initiators initiators_
MEMPROXY_CLASS(TransactionInitiator)
Definition: Node.h:25
const char * typeString() const override
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this Acl::Node.

 

Introduction

Documentation

Support

Miscellaneous