1 /*
2  * Copyright (C) 1996-2021 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 
storePendingNClients(const StoreEntry * e)16 int storePendingNClients(const StoreEntry * e)
17 {
18     /* no clients in the tests so far */
19     return 0;
20 }
21 
invokeHandlers()22 void StoreEntry::invokeHandlers()
23 {
24     /* do nothing for tests */
25 }
26 
27 void
storeLog(int tag,const StoreEntry * e)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 
41