stub_client_db.cc
Go to the documentation of this file.
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
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
23 #endif
24 #if SQUID_SNMP
26 variable_list *snmp_meshCtblFn(variable_list *, snint *) STUB_RETVAL(nullptr)
27 #endif
28 
variable_list * snmp_meshCtblFn(variable_list *Var, snint *ErrP)
Definition: client_db.cc:451
Definition: client_db.h:22
void clientdbFreeMemory(void)
Definition: client_db.cc:351
int clientdbEstablished(const Ip::Address &addr, int delta)
Definition: client_db.cc:183
void clientdbUpdate(const Ip::Address &addr, const LogTags &ltype, AnyP::ProtocolType p, size_t size)
Definition: client_db.cc:139
#define STUB_RETVAL(x)
Definition: STUB.h:41
int64_t snint
Definition: cache_snmp.h:14
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void * addr
Definition: membanger.c:46
ClientInfo * clientdbGetInfo(const Ip::Address &addr)
Definition: client_db.cc:120
void clientdbDump(StoreEntry *sentry)
Definition: client_db.cc:268
Ip::Address * client_entry(Ip::Address *current)
Definition: client_db.cc:430
int clientdbCutoffDenied(const Ip::Address &addr)
Definition: client_db.cc:210
ProtocolType
Definition: ProtocolType.h:22
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors