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 "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
>
31 MEMPROXY_CLASS(ACLASN
);
35 virtual bool match(Ip::Address
);
36 virtual SBufList
dump() const;
39 virtual ACLData
<Ip::Address
> *clone() const;
40 virtual void prepareForUse();
43 static ACL::Prototype SourceRegistryProtoype
;
44 static ACLStrategised
<Ip::Address
> SourceRegistryEntry_
;
45 static ACL::Prototype DestinationRegistryProtoype
;
46 static ACLStrategised
<Ip::Address
> DestinationRegistryEntry_
;
47 CbDataList
<int> *data
;
50 MEMPROXY_CLASS_INLINE(ACLASN
);
52 #endif /* SQUID_ACLASN_H */