]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/MaxConnection.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / acl / MaxConnection.h
CommitLineData
5dee515e 1/*
5b74111a 2 * Copyright (C) 1996-2018 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_ACLMAXCONNECTION_H
10#define SQUID_ACLMAXCONNECTION_H
63be0a78 11
3ad63615 12#include "acl/Acl.h"
5dee515e 13
63be0a78 14/// \ingroup ACLAPI
b0dd28ba 15class ACLMaxConnection : public ACL
62e76326 16{
b001e822 17 MEMPROXY_CLASS(ACLMaxConnection);
b0dd28ba 18
741c2986 19public:
b0dd28ba 20 ACLMaxConnection(char const *);
21 ACLMaxConnection(ACLMaxConnection const &);
22 ~ACLMaxConnection();
23 ACLMaxConnection&operator=(ACLMaxConnection const &);
62e76326 24
b0dd28ba 25 virtual ACL *clone()const;
26 virtual char const *typeString() const;
27 virtual void parse();
28 virtual int match(ACLChecklist *checklist);
9b859d6f 29 virtual SBufList dump() const;
4b0f5de8 30 virtual bool empty () const;
b0dd28ba 31 virtual bool valid () const;
32 virtual void prepareForUse();
62e76326 33
b0dd28ba 34protected:
b0dd28ba 35 char const *class_;
36 int limit;
37};
5dee515e 38
b0dd28ba 39#endif /* SQUID_ACLMAXCONNECTION_H */
f53969cc 40