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