client_db.h
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 /* DEBUG: section 00 Client Database */
10 
11 #ifndef SQUID_CLIENT_DB_H_
12 #define SQUID_CLIENT_DB_H_
13 
14 #include "anyp/ProtocolType.h"
15 #include "ip/Address.h"
16 #include "LogTags.h"
17 
18 namespace Ip
19 {
20 class Address;
21 }
22 
23 class StoreEntry;
24 class ClientInfo;
25 
26 void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t);
28 void clientdbDump(StoreEntry *);
29 void clientdbFreeMemory(void);
30 int clientdbEstablished(const Ip::Address &, int);
31 
32 #if USE_DELAY_POOLS
33 void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark);
35 #endif
36 
37 #if SQUID_SNMP
39 #endif
40 
41 #endif /* SQUID_CLIENT_DB_H_ */
42 
void clientdbFreeMemory(void)
Definition: client_db.cc:351
ClientInfo * clientdbGetInfo(const Ip::Address &addr)
Definition: client_db.cc:120
void clientdbDump(StoreEntry *)
Definition: client_db.cc:268
void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t)
Definition: client_db.cc:139
double writeSpeedLimit
Write speed limit in bytes per second.
void * addr
Definition: membanger.c:46
Ip::Address * client_entry(Ip::Address *current)
Definition: client_db.cc:430
ProtocolType
Definition: ProtocolType.h:22
int clientdbEstablished(const Ip::Address &, int)
Definition: client_db.cc:183
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)
int clientdbCutoffDenied(const Ip::Address &)
Definition: client_db.cc:210
Definition: Address.cc:190

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors