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
16ProtocolView::ProtocolView(const char * const, const size_t) STUB
18std::ostream &operator <<(std::ostream &os, const ProtocolView &) STUB_RETVAL(os)
20const acl_access *HttpUpgradeProtocolAccess::findGuard(const SBuf &) const STUB_RETVAL(nullptr)
21void HttpUpgradeProtocolAccess::configureGuard(ConfigParser &) STUB
22const SBuf HttpUpgradeProtocolAccess::ProtoOther("STUB-OTHER");
23HttpUpgradeProtocolAccess::NamedGuard::~NamedGuard() STUB_NOP
24HttpUpgradeProtocolAccess::NamedGuard::NamedGuard(const char *, acl_access *): protocol("STUB-UNDEF"), proto(protocol) STUB_NOP
25
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_NOP
Definition: STUB.h:37
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define acl_access
Definition: forward.h:45
Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols)
a reference to a protocol name[/version] string; no 0-termination is assumed
ProtocolView(const char *const start, const size_t len)
Definition: SBuf.h:94
std::ostream & operator<<(std::ostream &o, const Answer a)
Definition: Acl.h:177

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors