Squid Web Cache master
Loading...
Searching...
No Matches
stub_HttpUpgradeProtocolAccess.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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
22HttpUpgradeProtocolAccess::NamedGuard::~NamedGuard() STUB_NOP
23HttpUpgradeProtocolAccess::NamedGuard::NamedGuard(const char *, acl_access *): protocol("STUB-UNDEF"), proto(protocol) STUB_NOP
24
static std::ostream & operator<<(std::ostream &os, const acl_httpstatus_data *status)
reports acl_httpstatus_data using squid.conf http_status ACL value format
Definition HttpStatus.cc:67
#define STUB
macro to stub a void function.
Definition STUB.h:34
#define STUB_NOP
Definition STUB.h:38
#define STUB_RETVAL(x)
Definition STUB.h:42
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