Asn.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_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 virtual ~ACLASN();
32
33 virtual bool match(Ip::Address);
34 virtual SBufList dump() const;
35 virtual void parse();
36 bool empty() const;
37 virtual void prepareForUse();
38
39private:
41};
42
43#endif /* SQUID_ACLASN_H */
44
int asnMatchIp(CbDataList< int > *, Ip::Address &)
Definition: Asn.cc:132
Definition: Asn.h:26
CbDataList< int > * data
Definition: Asn.h:40
MEMPROXY_CLASS(ACLASN)
virtual SBufList dump() const
Definition: Asn.cc:535
bool empty() const
Definition: Asn.cc:552
virtual void parse()
Definition: Asn.cc:558
virtual bool match(Ip::Address)
Definition: Asn.cc:529
virtual void prepareForUse()
Definition: Asn.cc:176
virtual ~ACLASN()
Definition: Asn.cc:521
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:210
void asnInit(void)
Definition: Asn.cc:194
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors