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.
9 #ifndef SQUID_ACLDESTINATIONASN_H
10 #define SQUID_ACLDESTINATIONASN_H
13 #include "acl/Strategy.h"
14 #include "ip/Address.h"
17 class ACLDestinationASNStrategy
: public ACLStrategy
<Ip::Address
>
21 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
22 virtual bool requiresRequest() const {return true;}
24 static ACLDestinationASNStrategy
*Instance();
27 * Not implemented to prevent copies of the instance.
29 * Not private to prevent brain dead g++ warnings about
30 * private constructors with no friends
32 ACLDestinationASNStrategy(ACLDestinationASNStrategy
const &);
35 static ACLDestinationASNStrategy Instance_
;
36 ACLDestinationASNStrategy() {}
38 ACLDestinationASNStrategy
&operator=(ACLDestinationASNStrategy
const &);
41 #endif /* SQUID_ACLDESTINATIONASN_H */