]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_store_client.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / stub_store_client.cc
CommitLineData
4e0938ef 1/*
77b1029d 2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4e0938ef
AJ
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
582c2af2 9#include "squid.h"
d88e3c49 10#include "Store.h"
602d9612 11#include "StoreClient.h"
c8f4eac4 12
081edc2d
AJ
13#define STUB_API "store_client.cc"
14#include "tests/STUB.h"
15
16int storePendingNClients(const StoreEntry * e)
c8f4eac4 17{
18 /* no clients in the tests so far */
19 return 0;
20}
21
081edc2d 22void StoreEntry::invokeHandlers()
c8f4eac4 23{
081edc2d 24 /* do nothing for tests */
c8f4eac4 25}
26
27void
081edc2d 28storeLog(int tag, const StoreEntry * e)
c8f4eac4 29{
081edc2d 30 /* do nothing for tests - we don't need the log */
c8f4eac4 31}
32
081edc2d
AJ
33void storeLogOpen(void) STUB
34void storeDigestInit(void) STUB
35void storeRebuildStart(void) STUB
081edc2d
AJ
36void storeReplSetup(void) STUB
37bool store_client::memReaderHasLowerOffset(int64_t anOffset) const STUB_RETVAL(false)
38void store_client::dumpStats(MemBuf * output, int clientNumber) const STUB
39int store_client::getType() const STUB_RETVAL(0)
f53969cc 40