Asn.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 
19 void asnInit(void);
20 
22 void asnFreeMemory(void);
23 
25 class ACLASN : public ACLData<Ip::Address>
26 {
28 
29 public:
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 ACLData<Ip::Address> *clone() const;
38  virtual void prepareForUse();
39 
40 private:
42 };
43 
44 #endif /* SQUID_ACLASN_H */
45 
Definition: Asn.h:25
int asnMatchIp(CbDataList< int > *, Ip::Address &)
Definition: Asn.cc:141
virtual SBufList dump() const
Definition: Asn.cc:533
virtual void parse()
Definition: Asn.cc:556
MEMPROXY_CLASS(ACLASN)
virtual void prepareForUse()
Definition: Asn.cc:185
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:17
virtual ACLData< Ip::Address > * clone() const
Definition: Asn.cc:572
void asnInit(void)
Definition: Asn.cc:203
ACLASN()
Definition: Asn.h:30
std::list< SBuf > SBufList
Definition: forward.h:26
void asnFreeMemory(void)
Definition: Asn.cc:219
CbDataList< int > * data
Definition: Asn.h:41
virtual bool match(Ip::Address)
Definition: Asn.cc:527
bool empty() const
Definition: Asn.cc:550
virtual ~ACLASN()
Definition: Asn.cc:519

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors