source: squid-ssl/trunk/fuentes/src/acl/SourceAsn.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 1023 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9#ifndef SQUID_ACL_SOURCEASN_H
10#define SQUID_ACL_SOURCEASN_H
11
12#include "acl/Strategy.h"
13#include "ip/Address.h"
14
15class ACLChecklist;
16
17class ACLSourceASNStrategy : public ACLStrategy<Ip::Address>
18{
19
20public:
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 &);
27
28private:
29    static ACLSourceASNStrategy Instance_;
30    ACLSourceASNStrategy() {}
31
32    ACLSourceASNStrategy&operator=(ACLSourceASNStrategy const &);
33};
34
35#endif /* SQUID_ACL_SOURCEASN_H */
36
Note: See TracBrowser for help on using the repository browser.