]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Arp.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / Arp.h
1 /*
2 * Copyright (C) 1996-2014 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_ACLARP_H
10 #define SQUID_ACLARP_H
11
12 #include "acl/Acl.h"
13 #include "acl/Checklist.h"
14 #include "splay.h"
15
16 namespace Eui
17 {
18 class Eui48;
19 };
20
21 /// \ingroup ACLAPI
22 class ACLARP : public ACL
23 {
24 MEMPROXY_CLASS(ACLARP);
25
26 public:
27 ACLARP(char const *);
28 ACLARP(ACLARP const &);
29 ~ACLARP();
30 ACLARP&operator=(ACLARP const &);
31
32 virtual ACL *clone()const;
33 virtual char const *typeString() const;
34 virtual void parse();
35 virtual int match(ACLChecklist *checklist);
36 virtual SBufList dump() const;
37 virtual bool empty () const;
38
39 protected:
40 static Prototype RegistryProtoype;
41 static ACLARP RegistryEntry_;
42 SplayNode<Eui::Eui48 *> *data;
43 char const *class_;
44 };
45
46 #endif /* SQUID_ACLARP_H */
47