client_db.h
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 /* 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 #if SQUID_SNMP
18 #include "cache_snmp.h"
19 #include "snmp_vars.h"
20 #endif
21 
22 namespace Ip
23 {
24 class Address;
25 }
26 
27 class StoreEntry;
28 class ClientInfo;
29 
30 void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t);
32 void clientdbDump(StoreEntry *);
33 void clientdbFreeMemory(void);
34 int clientdbEstablished(const Ip::Address &, int);
35 
36 #if USE_DELAY_POOLS
37 void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark);
39 #endif
40 
41 #if SQUID_SNMP
44 #endif
45 
46 #endif /* SQUID_CLIENT_DB_H_ */
47 
variable_list * snmp_meshCtblFn(variable_list *, snint *)
Definition: client_db.cc:451
Definition: client_db.h:22
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.
int64_t snint
Definition: cache_snmp.h:14
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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors