]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/ProtocolData.h
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_ACLPROTOCOLDATA_H
10 #define SQUID_ACLPROTOCOLDATA_H
14 #include "anyp/ProtocolType.h"
18 class ACLProtocolData
: public ACLData
<AnyP::ProtocolType
>
20 MEMPROXY_CLASS(ACLProtocolData
);
24 ACLProtocolData(ACLProtocolData
const &);
25 ACLProtocolData
&operator= (ACLProtocolData
const &);
26 virtual ~ACLProtocolData();
27 bool match(AnyP::ProtocolType
);
28 virtual SBufList
dump() const;
30 bool empty() const {return values
.empty();}
31 virtual ACLData
<AnyP::ProtocolType
> *clone() const;
33 std::list
<AnyP::ProtocolType
> values
;
36 #endif /* SQUID_ACLPROTOCOLDATA_H */