]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_CacheDigest.cc
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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.
10 #include "store_key_md5.h" /* for cache_key */
12 #define STUB_API "CacheDigest.cc"
13 #include "tests/STUB.h"
16 class CacheDigestGuessStats
;
19 CacheDigest
* cacheDigestCreate(int, int) STUB_RETVAL(NULL
)
20 void cacheDigestDestroy(CacheDigest
*) STUB
21 CacheDigest
* cacheDigestClone(const CacheDigest
*) STUB_RETVAL(NULL
)
22 void cacheDigestClear(CacheDigest
* ) STUB
23 void cacheDigestChangeCap(CacheDigest
*,int) STUB
24 int cacheDigestTest(const CacheDigest
*, const cache_key
*) STUB_RETVAL(1)
25 void cacheDigestAdd(CacheDigest
*, const cache_key
*) STUB
26 void cacheDigestDel(CacheDigest
*, const cache_key
*) STUB
27 int cacheDigestBitUtil(const CacheDigest
*) STUB_RETVAL(0)
28 void cacheDigestGuessStatsUpdate(CacheDigestGuessStats
*, int, int) STUB
29 void cacheDigestGuessStatsReport(const CacheDigestGuessStats
*, StoreEntry
*, const char *) STUB
30 void cacheDigestReport(CacheDigest
*, const char *, StoreEntry
*) STUB
31 size_t cacheDigestCalcMaskSize(int, int) STUB_RETVAL(1)