]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_store_client.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / stub_store_client.cc
1 #include "squid.h"
2 #include "Store.h"
3 #include "StoreClient.h"
4
5 #define STUB_API "store_client.cc"
6 #include "tests/STUB.h"
7
8 int storePendingNClients(const StoreEntry * e)
9 {
10 /* no clients in the tests so far */
11 return 0;
12 }
13
14 void StoreEntry::invokeHandlers()
15 {
16 /* do nothing for tests */
17 }
18
19 void
20 storeLog(int tag, const StoreEntry * e)
21 {
22 /* do nothing for tests - we don't need the log */
23 }
24
25 void storeLogOpen(void) STUB
26 void storeDigestInit(void) STUB
27 void storeRebuildStart(void) STUB
28 const char *storeEntryFlags(const StoreEntry *) STUB_RETVAL(NULL)
29 void storeReplSetup(void) STUB
30 bool store_client::memReaderHasLowerOffset(int64_t anOffset) const STUB_RETVAL(false)
31 void store_client::dumpStats(MemBuf * output, int clientNumber) const STUB
32 int store_client::getType() const STUB_RETVAL(0)