SquidError.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #include "squid.h"
10 #include "acl/FilledChecklist.h"
11 #include "acl/SquidError.h"
12 #include "HttpRequest.h"
13 
14 int
16 {
17  if (checklist->requestErrorType != ERR_MAX)
18  return data->match(checklist->requestErrorType);
19  else if (checklist->request)
20  return data->match(checklist->request->errType);
21  return 0;
22 }
23 
err_type errType
Definition: HttpRequest.h:161
virtual bool match(M)=0
void const char HLPCB void * data
Definition: stub_helper.cc:16
HttpRequest * request
virtual int match(ACLData< MatchType > *&, ACLFilledChecklist *) override
Definition: SquidError.cc:15

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors