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 static CacheManager* instance = nullptr;
20 CacheManager* CacheManager::GetInstance() STUB_RETVAL(instance)
21 void Mgr::RegisterAction(char const *, char const *, OBJH *, Protected, Atomic, Format) {}
22 void Mgr::RegisterAction(char const *, char const *, ClassActionCreationHandler *, Protected, Atomic, Format) {}
23 
25 void CacheManager::PutCommonResponseHeaders(HttpReply &, const char *) STUB
26 
ActionPointer() ClassActionCreationHandler(const CommandPointer &cmd)
Definition: forward.h:36
Mgr::Action::Pointer createNamedAction(const char *actionName)
#define STUB_RETVAL(x)
Definition: STUB.h:42
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:16
Protected
whether default cachemgr_passwd configuration denies the Action
void OBJH(StoreEntry *)
Definition: forward.h:44
Mgr::Action::Pointer createRequestedAction(const Mgr::ActionParams &)
#define STUB
macro to stub a void function.
Definition: STUB.h:34
RefCount< Comm::Connection > ConnectionPointer
Definition: forward.h:26
Cache Manager Action parameters extracted from the user request.
Definition: ActionParams.h:23
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
Definition: Registration.cc:54
Atomic
whether Action::dump() writes the entire report before returning
Cache Manager API.
Definition: Action.h:20

 

Introduction

Documentation

Support

Miscellaneous