Asn.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_ACLASN_H
10#define SQUID_ACLASN_H
11
12#include "acl/Data.h"
13#include "base/CbDataList.h"
14#include "ip/Address.h"
15
17
19void asnInit(void);
20
22void asnFreeMemory(void);
23
25class ACLASN : public ACLData<Ip::Address>
26{
28
29public:
30 ACLASN() : data(nullptr) {}
31 ~ACLASN() override;
32
33 bool match(Ip::Address) override;
34 SBufList dump() const override;
35 void parse() override;
36 bool empty() const override;
37 void prepareForUse() override;
38
39private:
41};
42
43#endif /* SQUID_ACLASN_H */
44
int asnMatchIp(CbDataList< int > *, Ip::Address &)
Definition: Asn.cc:128
Definition: Asn.h:26
CbDataList< int > * data
Definition: Asn.h:40
void prepareForUse() override
Definition: Asn.cc:172
SBufList dump() const override
Definition: Asn.cc:481
MEMPROXY_CLASS(ACLASN)
~ACLASN() override
Definition: Asn.cc:467
void parse() override
Definition: Asn.cc:504
bool match(Ip::Address) override
Definition: Asn.cc:475
bool empty() const override
Definition: Asn.cc:498
ACLASN()
Definition: Asn.h:30
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
void asnFreeMemory(void)
Definition: Asn.cc:206
void asnInit(void)
Definition: Asn.cc:190
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors