stub_errorpage.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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
15err_type errorReservePageId(const char *, const SBuf &) STUB_RETVAL(err_type(0))
17bool strHdrAcptLangGetItem(const String &, char *, int, size_t &) STUB_RETVAL(false)
18void TemplateFile::loadDefault() STUB
20bool TemplateFile::loadFor(const HttpRequest *) STUB_RETVAL(false)
21
22std::ostream &operator <<(std::ostream &os, const ErrorState *) STUB_RETVAL(os)
23
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
Definition: SBuf.h:94
err_type
Definition: forward.h:14
bool strHdrAcptLangGetItem(const String &hdr, char *lang, int langLen, size_t &pos)
Definition: errorpage.cc:465
void errorAppendEntry(StoreEntry *entry, ErrorState *err)
Definition: errorpage.cc:717
STL namespace.
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:647

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors