/*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "acl/Strategy.h"
#include "HttpReply.h"
-template <http_hdr_type header>
+template <Http::HdrType header>
class ACLReplyHeaderStrategy : public ACLStrategy<char const *>
{
ACLReplyHeaderStrategy&operator=(ACLReplyHeaderStrategy const &);
};
-template <http_hdr_type header>
+template <Http::HdrType header>
int
ACLReplyHeaderStrategy<header>::match (ACLData<char const *> * &data, ACLFilledChecklist *checklist, ACLFlags &)
{
return data->match(theHeader);
}
-template <http_hdr_type header>
+template <Http::HdrType header>
ACLReplyHeaderStrategy<header> *
ACLReplyHeaderStrategy<header>::Instance()
{
return Instance_;
}
-template <http_hdr_type header>
+template <Http::HdrType header>
ACLReplyHeaderStrategy<header> * ACLReplyHeaderStrategy<header>::Instance_ = NULL;
#endif /* SQUID_REPLYHEADERSTRATEGY_H */