]>
Commit | Line | Data |
---|---|---|
8000a965 | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
8000a965 | 3 | * |
bbc27441 AJ |
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. | |
8000a965 | 7 | */ |
8 | ||
9 | #ifndef SQUID_ACLSOURCEIP_H | |
10 | #define SQUID_ACLSOURCEIP_H | |
3ad63615 | 11 | #include "acl/Ip.h" |
8000a965 | 12 | |
62e76326 | 13 | class ACLSourceIP : public ACLIP |
14 | { | |
15 | ||
16 | public: | |
b001e822 | 17 | MEMPROXY_CLASS(ACLSourceIP); |
8000a965 | 18 | |
19 | virtual char const *typeString() const; | |
8000a965 | 20 | virtual int match(ACLChecklist *checklist); |
21 | virtual ACL *clone()const; | |
62e76326 | 22 | |
23 | private: | |
8000a965 | 24 | static Prototype RegistryProtoype; |
25 | static ACLSourceIP RegistryEntry_; | |
26 | }; | |
27 | ||
d85b8894 | 28 | MEMPROXY_CLASS_INLINE(ACLSourceIP); |
b001e822 | 29 | |
8000a965 | 30 | #endif /* SQUID_ACLSOURCEIP_H */ |