]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/HierCodeData.h
ab2aa77f8c251bd668dd3a66bae89590a8bd9151
2 * Copyright (C) 1996-2016 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_ACLHIERCODEDATA_H
10 #define SQUID_ACLHIERCODEDATA_H
14 #include "hier_code.h"
16 class ACLHierCodeData
: public ACLData
<hier_code
>
18 MEMPROXY_CLASS(ACLHierCodeData
);
22 ACLHierCodeData(ACLHierCodeData
const &);
23 ACLHierCodeData
&operator= (ACLHierCodeData
const &);
24 virtual ~ACLHierCodeData();
25 bool match(hier_code
);
26 virtual SBufList
dump() const;
29 virtual ACLData
<hier_code
> *clone() const;
31 /// mask of codes this ACL might match.
32 bool values
[HIER_MAX
];
35 #endif /* SQUID_ACLHIERCODEDATA_H */