Squid Web Cache master
Loading...
Searching...
No Matches
stub_cache_manager.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 "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
18void CacheManager::start(const Comm::ConnectionPointer &, HttpRequest *, StoreEntry *, const AccessLogEntryPointer &) STUB
19static CacheManager* instance = nullptr;
20CacheManager* CacheManager::GetInstance() STUB_RETVAL(instance)
21void Mgr::RegisterAction(char const *, char const *, OBJH *, Protected, Atomic, Format) {}
22void Mgr::RegisterAction(char const *, char const *, ClassActionCreationHandler *, Protected, Atomic, Format) {}
23
25void CacheManager::PutCommonResponseHeaders(HttpReply &, const char *) STUB
26
#define STUB
macro to stub a void function.
Definition STUB.h:34
#define STUB_RETVAL(x)
Definition STUB.h:42
Mgr::Action::Pointer createRequestedAction(const Mgr::ActionParams &)
Mgr::Action::Pointer createNamedAction(const char *actionName)
Cache Manager Action parameters extracted from the user request.
void OBJH(StoreEntry *)
Definition forward.h:44
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Cache Manager API.
Definition Action.h:21
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)