2 * Copyright (C) 1996-2015 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_ACL_SOURCEASN_H
10 #define SQUID_ACL_SOURCEASN_H
12 #include "acl/Strategy.h"
13 #include "ip/Address.h"
17 class ACLSourceASNStrategy
: public ACLStrategy
<Ip::Address
>
21 virtual int match (ACLData
<MatchType
> * &, ACLFilledChecklist
*, ACLFlags
&);
22 static ACLSourceASNStrategy
*Instance();
23 /* Not implemented to prevent copies of the instance. */
24 /* Not private to prevent brain dead g+++ warnings about
25 * private constructors with no friends */
26 ACLSourceASNStrategy(ACLSourceASNStrategy
const &);
29 static ACLSourceASNStrategy Instance_
;
30 ACLSourceASNStrategy() {}
32 ACLSourceASNStrategy
&operator=(ACLSourceASNStrategy
const &);
35 #endif /* SQUID_ACL_SOURCEASN_H */