UrlPort.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_ACLURLPORT_H
10#define SQUID_ACLURLPORT_H
11
12#include "acl/Data.h"
14
15namespace Acl
16{
17
19class UrlPortCheck: public ParameterizedNode< ACLData<int> >
20{
21public:
22 /* ACL API */
23 int match(ACLChecklist *) override;
24 bool requiresRequest() const override {return true;}
25};
26
27} // namespace Acl
28
29#endif /* SQUID_ACLURLPORT_H */
30
a "port" ACL
Definition: UrlPort.h:20
int match(ACLChecklist *) override
Matches the actual data in checklist against this ACL.
Definition: UrlPort.cc:15
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
Definition: UrlPort.h:24
Definition: Acl.cc:31

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors