]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/ProtocolData.h
2 * Copyright (C) 1996-2014 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"
15 #include "CbDataList.h"
17 class ACLProtocolData
: public ACLData
<AnyP::ProtocolType
>
21 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;
31 virtual ACLData
<AnyP::ProtocolType
> *clone() const;
33 CbDataList
<AnyP::ProtocolType
> *values
;
36 MEMPROXY_CLASS_INLINE(ACLProtocolData
);
38 #endif /* SQUID_ACLPROTOCOLDATA_H */