stub_client_db.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #include "client_db.h"
11 
12 #define STUB_API "client_db.cc"
13 #include "tests/STUB.h"
14 
15 class ClientInfo;
16 
17 void clientdbInit(void) STUB
18 void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t) STUB
19 int clientdbCutoffDenied(const Ip::Address &) STUB_RETVAL(-1)
21 void clientdbFreeMemory(void) STUB
22 int clientdbEstablished(const Ip::Address &, int) STUB_RETVAL(-1)
23 #if USE_DELAY_POOLS
24 void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark) STUB
26 #endif
28 void clientHttpConnectionsClose(void) STUB
29 
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
double writeSpeedLimit
Write speed limit in bytes per second.
#define STUB_RETVAL(x)
Definition: STUB.h:41
#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
void clientOpenListenSockets(void)
int clientdbCutoffDenied(const Ip::Address &addr)
Definition: client_db.cc:210
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)
#define NULL
Definition: types.h:166
static void clientdbInit(void)
Definition: client_db.cc:92
Definition: Address.cc:190

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors