stub_errorpage.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 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 "errorpage.h"
11 
12 #define STUB_API "errorpage.cc"
13 #include "tests/STUB.h"
14 
15 err_type errorReservePageId(const char *, const SBuf &) STUB_RETVAL(err_type(0))
17 bool strHdrAcptLangGetItem(const String &, char *, int, size_t &) STUB_RETVAL(false)
18 void TemplateFile::loadDefault() STUB
20 bool TemplateFile::loadFor(const HttpRequest *) STUB_RETVAL(false)
21 
22 std::ostream &operator <<(std::ostream &os, const ErrorState *) STUB_RETVAL(os)
23 
void errorAppendEntry(StoreEntry *entry, ErrorState *err)
Definition: errorpage.cc:719
#define STUB_RETVAL(x)
Definition: STUB.h:41
Definition: SBuf.h:94
err_type
Definition: forward.h:14
err_type errorReservePageId(const char *, const SBuf &) STUB_RETVAL(err_type(0)) void errorAppendEntry(StoreEntry *
allocates a new slot for the error page
Definition: errorpage.cc:648
bool strHdrAcptLangGetItem(const String &hdr, char *lang, int langLen, size_t &pos)
Definition: errorpage.cc:466
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors