]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/HttpHeaderData.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_ACLHTTPHEADERDATA_H
10 #define SQUID_ACLHTTPHEADERDATA_H
13 #include "HttpHeader.h"
14 #include "SquidString.h"
16 class ACLHTTPHeaderData
: public ACLData
<HttpHeader
*>
18 MEMPROXY_CLASS(ACLHTTPHeaderData
);
22 virtual ~ACLHTTPHeaderData();
23 virtual bool match(HttpHeader
* hdr
);
24 virtual SBufList
dump() const;
26 virtual bool empty() const;
27 virtual ACLData
<HttpHeader
*> *clone() const;
30 http_hdr_type hdrId
; /**< set if header is known */
31 String hdrName
; /**< always set */
32 ACLData
<char const *> * regex_rule
;
35 #endif /* SQUID_ACLHTTPHEADERDATA_H */