]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_CacheDigest.cc
Convert cacheDigestClone() to member
[thirdparty/squid.git] / src / tests / stub_CacheDigest.cc
1 /*
2 * Copyright (C) 1996-2015 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(int, int) {STUB}
21 CacheDigest::~CacheDigest() {STUB}
22 CacheDigest *CacheDigest::clone() const STUB_RETVAL(nullptr)
23 void cacheDigestClear(CacheDigest * ) STUB
24 void cacheDigestChangeCap(CacheDigest *,int) STUB
25 int cacheDigestTest(const CacheDigest *, const cache_key *) STUB_RETVAL(1)
26 void cacheDigestAdd(CacheDigest *, const cache_key *) STUB
27 void cacheDigestDel(CacheDigest *, const cache_key *) STUB
28 int cacheDigestBitUtil(const CacheDigest *) STUB_RETVAL(0)
29 void cacheDigestGuessStatsUpdate(CacheDigestGuessStats *, int, int) STUB
30 void cacheDigestGuessStatsReport(const CacheDigestGuessStats *, StoreEntry *, const char *) STUB
31 void cacheDigestReport(CacheDigest *, const char *, StoreEntry *) STUB
32 size_t cacheDigestCalcMaskSize(int, int) STUB_RETVAL(1)
33