]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_client_db.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / tests / stub_client_db.cc
1 /*
2 * Copyright (C) 1996-2023 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 int clientdbEstablished(const Ip::Address &, int) STUB_RETVAL(-1)
19 #if USE_DELAY_POOLS
20 void clientdbSetWriteLimiter(ClientInfo *, const int,const double,const double) STUB
21 ClientInfo *clientdbGetInfo(const Ip::Address &) STUB_RETVAL(nullptr)
22 #endif
23 #if SQUID_SNMP
24 Ip::Address *client_entry(Ip::Address *) STUB_RETVAL(nullptr)
25 variable_list *snmp_meshCtblFn(variable_list *, snint *) STUB_RETVAL(nullptr)
26 #endif
27