]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/LocalIp.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / LocalIp.h
1 /*
2 * Copyright (C) 1996-2017 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_ACLLOCALIP_H
10 #define SQUID_ACLLOCALIP_H
11
12 #include "acl/Ip.h"
13
14 /// \ingroup ACLAPI
15 class ACLLocalIP : public ACLIP
16 {
17 MEMPROXY_CLASS(ACLLocalIP);
18
19 public:
20 static ACLLocalIP const &RegistryEntry();
21
22 virtual char const *typeString() const;
23 virtual int match(ACLChecklist *checklist);
24 virtual ACL *clone()const;
25
26 private:
27 static Prototype RegistryProtoype;
28 static ACLLocalIP RegistryEntry_;
29 };
30
31 #endif /* SQUID_ACLLOCALIP_H */
32