]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Asn.h
1093de58c97475abac4e336b05f162a579d5b2c4
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
10 #define SQUID_ACLASN_H
13 #include "base/CbDataList.h"
14 #include "ip/Address.h"
16 int asnMatchIp(CbDataList
<int> *, Ip::Address
&);
22 void asnFreeMemory(void);
25 class ACLASN
: public ACLData
<Ip::Address
>
27 MEMPROXY_CLASS(ACLASN
);
30 ACLASN() : data(nullptr) {}
33 virtual bool match(Ip::Address
);
34 virtual SBufList
dump() const;
37 virtual ACLData
<Ip::Address
> *clone() const;
38 virtual void prepareForUse();
41 CbDataList
<int> *data
;
44 #endif /* SQUID_ACLASN_H */