]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_client_db.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / stub_client_db.cc
CommitLineData
4e0938ef 1/*
f6e9a3ee 2 * Copyright (C) 1996-2019 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
f7f3304a 9#include "squid.h"
96e9c799 10
081edc2d
AJ
11#define STUB_API "client_db.cc"
12#include "tests/STUB.h"
13
c1a2df00 14#include "client_db.h"
91369933 15void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t) STUB
081edc2d
AJ
16int clientdbCutoffDenied(const Ip::Address &) STUB_RETVAL(-1)
17void clientdbDump(StoreEntry *) STUB
18void clientdbFreeMemory(void) STUB
19int clientdbEstablished(const Ip::Address &, int) STUB_RETVAL(-1)
96e9c799 20#if USE_DELAY_POOLS
081edc2d 21void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark) STUB
c1a2df00
AJ
22ClientInfo *clientdbGetInfo(const Ip::Address &addr) STUB_RETVAL(nullptr)
23#endif
24#if SQUID_SNMP
25Ip::Address *client_entry(Ip::Address *) STUB_RETVAL(nullptr)
26variable_list *snmp_meshCtblFn(variable_list *, snint *) STUB_RETVAL(nullptr)
96e9c799 27#endif
75aadeb9 28