stub_HttpUpgradeProtocolAccess.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 "ConfigParser.h"
11 
12 #define STUB_API "HttpUpgradeProtocolAccess.cc"
13 #include "tests/STUB.h"
14 
16 ProtocolView::ProtocolView(const char * const, const size_t) STUB
18 std::ostream &operator <<(std::ostream &os, const ProtocolView &) STUB_RETVAL(os)
20 const acl_access *HttpUpgradeProtocolAccess::findGuard(const SBuf &) const STUB_RETVAL(nullptr)
21 void HttpUpgradeProtocolAccess::configureGuard(ConfigParser &) STUB
22 HttpUpgradeProtocolAccess::NamedGuard::~NamedGuard() STUB_NOP
23 HttpUpgradeProtocolAccess::NamedGuard::NamedGuard(const char *, acl_access *): protocol("STUB-UNDEF"), proto(protocol) STUB_NOP
24 
#define STUB_RETVAL(x)
Definition: STUB.h:42
a reference to a protocol name[/version] string; no 0-termination is assumed
Definition: SBuf.h:93
#define STUB
macro to stub a void function.
Definition: STUB.h:34
ProtocolView(const char *const start, const size_t len)
#define STUB_NOP
Definition: STUB.h:38
Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols)
std::ostream & operator<<(std::ostream &o, const Answer &a)
Definition: Acl.h:109

 

Introduction

Documentation

Support

Miscellaneous