2 * Copyright (C) 1996-2014 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
12 #include "acl/Checklist.h"
14 #include "acl/Strategised.h"
15 #include "base/CbDataList.h"
16 #include "ip/Address.h"
18 int asnMatchIp(CbDataList
<int> *, Ip::Address
&);
24 void asnFreeMemory(void);
27 class ACLASN
: public ACLData
<Ip::Address
>
29 MEMPROXY_CLASS(ACLASN
);
34 virtual bool match(Ip::Address
);
35 virtual SBufList
dump() const;
38 virtual ACLData
<Ip::Address
> *clone() const;
39 virtual void prepareForUse();
42 static ACL::Prototype SourceRegistryProtoype
;
43 static ACLStrategised
<Ip::Address
> SourceRegistryEntry_
;
44 static ACL::Prototype DestinationRegistryProtoype
;
45 static ACLStrategised
<Ip::Address
> DestinationRegistryEntry_
;
46 CbDataList
<int> *data
;
49 #endif /* SQUID_ACLASN_H */