]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Arp.h
Maintenance: bump astyle to 2.04 and quieten report
[thirdparty/squid.git] / src / acl / Arp.h
CommitLineData
5dee515e 1/*
bbc27441 2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
5dee515e 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.
5dee515e 7 */
8
b0dd28ba 9#ifndef SQUID_ACLARP_H
10#define SQUID_ACLARP_H
63be0a78 11
3ad63615
AR
12#include "acl/Acl.h"
13#include "acl/Checklist.h"
b0dd28ba 14#include "splay.h"
5dee515e 15
05320519
A
16namespace Eui
17{
18class Eui48;
a98c2da5 19};
62e76326 20
63be0a78 21/// \ingroup ACLAPI
b0dd28ba 22class ACLARP : public ACL
62e76326 23{
b001e822 24 MEMPROXY_CLASS(ACLARP);
b0dd28ba 25
741c2986 26public:
b0dd28ba 27 ACLARP(char const *);
28 ACLARP(ACLARP const &);
29 ~ACLARP();
30 ACLARP&operator=(ACLARP const &);
62e76326 31
b0dd28ba 32 virtual ACL *clone()const;
33 virtual char const *typeString() const;
34 virtual void parse();
35 virtual int match(ACLChecklist *checklist);
9b859d6f 36 virtual SBufList dump() const;
4b0f5de8 37 virtual bool empty () const;
62e76326 38
b0dd28ba 39protected:
b0dd28ba 40 static Prototype RegistryProtoype;
41 static ACLARP RegistryEntry_;
a98c2da5 42 SplayNode<Eui::Eui48 *> *data;
b0dd28ba 43 char const *class_;
44};
5dee515e 45
b0dd28ba 46#endif /* SQUID_ACLARP_H */