stub_store_client.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 "Store.h"
11 #include "StoreClient.h"
12 
13 #define STUB_API "store_client.cc"
14 #include "tests/STUB.h"
15 
17 {
18  /* no clients in the tests so far */
19  return 0;
20 }
21 
23 {
24  /* do nothing for tests */
25 }
26 
27 void
28 storeLog(int tag, const StoreEntry * e)
29 {
30  /* do nothing for tests - we don't need the log */
31 }
32 
33 void storeLogOpen(void) STUB
34 void storeDigestInit(void) STUB
35 void storeRebuildStart(void) STUB
36 void storeReplSetup(void) STUB
37 bool store_client::memReaderHasLowerOffset(int64_t anOffset) const STUB_RETVAL(false)
38 void store_client::dumpStats(MemBuf * output, int clientNumber) const STUB
39 int store_client::getType() const STUB_RETVAL(0)
40 
void storeReplSetup(void)
void invokeHandlers()
void storeLog(int tag, const StoreEntry *e)
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void storeLogOpen(void)
Definition: store_log.cc:120
void storeDigestInit(void)
Definition: MemBuf.h:23
void storeRebuildStart(void)
int storePendingNClients(const StoreEntry *e)
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors