]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/tests/stub_store_client.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / stub_store_client.cc
... / ...
CommitLineData
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
16int storePendingNClients(const StoreEntry * e)
17{
18 /* no clients in the tests so far */
19 return 0;
20}
21
22void StoreEntry::invokeHandlers()
23{
24 /* do nothing for tests */
25}
26
27void
28storeLog(int tag, const StoreEntry * e)
29{
30 /* do nothing for tests - we don't need the log */
31}
32
33void storeLogOpen(void) STUB
34void storeDigestInit(void) STUB
35void storeRebuildStart(void) STUB
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)
40