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