stub_client_db.cc
Go to the documentation of this file.
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
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
22 #endif
23 #if SQUID_SNMP
26 #endif
27 
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)
void clientdbDump(StoreEntry *sentry)
Definition: client_db.cc:267
#define STUB_RETVAL(x)
Definition: STUB.h:42
void clientdbUpdate(const Ip::Address &addr, const LogTags &ltype, AnyP::ProtocolType p, size_t size)
Definition: client_db.cc:138
int clientdbEstablished(const Ip::Address &addr, int delta)
Definition: client_db.cc:182
Ip::Address * client_entry(Ip::Address *current)
Definition: client_db.cc:421
int clientdbCutoffDenied(const Ip::Address &addr)
Definition: client_db.cc:209
ProtocolType
Definition: ProtocolType.h:23
int64_t snint
Definition: cache_snmp.h:14
#define STUB
macro to stub a void function.
Definition: STUB.h:34
ClientInfo * clientdbGetInfo(const Ip::Address &addr)
Definition: client_db.cc:119
Definition: Xaction.cc:137
variable_list * snmp_meshCtblFn(variable_list *Var, snint *ErrP)
Definition: client_db.cc:442

 

Introduction

Documentation

Support

Miscellaneous