stub_cache_manager.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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.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 }
23 CacheManager* CacheManager::instance=0;
25 void Mgr::RegisterAction(char const*, char const*, OBJH, int, int) {}
26 void Mgr::RegisterAction(char const *, char const *, Mgr::ClassActionCreationHandler *, int, int) {}
27 
29 
struct _request * request(char *urlin)
Definition: tcp-banger2.c:291
void OBJH(StoreEntry *)
Definition: forward.h:44
int conn
the current server connection FD
Definition: Transport.cc:26
Cache Manager Action parameters extracted from the user request.
Definition: ActionParams.h:23
static CacheManager * GetInstance()
#define STUB_RETVAL(x)
Definition: STUB.h:41
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
#define STUB
macro to stub a void function.
Definition: STUB.h:33
Mgr::Action::Pointer createRequestedAction(const Mgr::ActionParams &)
RefCount< Comm::Connection > ConnectionPointer
Definition: forward.h:25
std::ostream & HERE(std::ostream &s)
Definition: Debug.h:147
Mgr::Action::Pointer createNamedAction(const char *actionName)
bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:311
#define NULL
Definition: types.h:166
void Start(const Comm::ConnectionPointer &conn, IDCB *callback, void *cbdata)
Definition: Ident.cc:237
ActionPointer( ClassActionCreationHandler)(const CommandPointer &cmd)
Definition: forward.h:36

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors