]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_CacheDigest.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / stub_CacheDigest.cc
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_key_md5.h"
11
12 #define STUB_API "CacheDigest.cc"
13 #include "tests/STUB.h"
14
15 class CacheDigest;
16 class CacheDigestGuessStats;
17 class StoreEntry;
18
19 #include "CacheDigest.h"
20 CacheDigest::CacheDigest(uint64_t, uint8_t) {STUB}
21 CacheDigest::~CacheDigest() {STUB}
22 CacheDigest *CacheDigest::clone() const STUB_RETVAL(nullptr)
23 void CacheDigest::clear() STUB
24 void CacheDigest::updateCapacity(uint64_t) STUB
25 bool CacheDigest::contains(const cache_key *) const STUB_RETVAL(false)
26 void CacheDigest::add(const cache_key *) STUB
27 void CacheDigest::remove(const cache_key *) STUB
28 double CacheDigest::usedMaskPercent() const STUB_RETVAL(0.0)
29 void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *, int, int) STUB
30 void cacheDigestGuessStatsReport(const CacheDigestGuessStats *, StoreEntry *, const SBuf &) STUB
31 void cacheDigestReport(CacheDigest *, const SBuf &, StoreEntry *) STUB
32 uint32_t CacheDigest::CalcMaskSize(uint64_t, uint8_t) STUB_RETVAL(1)
33