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_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 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
34protected:
35 char const *class_;
38};
39
40} // namespace Acl
41
42#endif /* SQUID_ACL_TRANSACTION_INITIATOR_H */
43
Definition: Acl.h:46
transaction_initiator ACL
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this ACL.
SBufList dump() const override
MEMPROXY_CLASS(TransactionInitiator)
XactionInitiator::Initiators initiators_
bool empty() const override
char const * typeString() const override
void parse() override
parses node representation in squid.conf; dies on failures
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