stub_cache_manager.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 "CacheManager.h"
11#include "debug/Stream.h"
12#include "mgr/Registration.h"
13
14#define STUB_API "cache_manager.cc"
15#include "tests/STUB.h"
16
19{
20 std::cerr << HERE << "\n";
21 STUB
22}
23static CacheManager* instance = nullptr;
25void Mgr::RegisterAction(char const*, char const*, OBJH, int, int) {}
26void Mgr::RegisterAction(char const *, char const *, Mgr::ClassActionCreationHandler *, int, int) {}
27
29void CacheManager::PutCommonResponseHeaders(HttpReply &, const char *) STUB
30
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
Mgr::Action::Pointer createRequestedAction(const Mgr::ActionParams &)
static CacheManager * GetInstance()
Mgr::Action::Pointer createNamedAction(const char *actionName)
Cache Manager Action parameters extracted from the user request.
Definition: ActionParams.h:24
std::ostream & HERE(std::ostream &s)
Definition: Stream.h:223
void OBJH(StoreEntry *)
Definition: forward.h:44
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:17
RefCount< Comm::Connection > ConnectionPointer
Definition: forward.h:28
Cache Manager API.
Definition: Action.h:20
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
ActionPointer() ClassActionCreationHandler(const CommandPointer &cmd)
Definition: forward.h:36
static CacheManager * instance

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors