client_db.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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
22namespace Ip
23{
24class Address;
25}
26
27class StoreEntry;
28class ClientInfo;
29
30void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t);
33int clientdbEstablished(const Ip::Address &, int);
34
35#if USE_DELAY_POOLS
36void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark);
38#endif
39
40#if SQUID_SNMP
43#endif
44
45#endif /* SQUID_CLIENT_DB_H_ */
46
int64_t snint
Definition: cache_snmp.h:14
double writeSpeedLimit
Write speed limit in bytes per second.
Ip::Address addr
Definition: ClientInfo.h:41
variable_list * snmp_meshCtblFn(variable_list *, snint *)
Definition: client_db.cc:442
int clientdbCutoffDenied(const Ip::Address &)
Definition: client_db.cc:209
Ip::Address * client_entry(Ip::Address *current)
Definition: client_db.cc:421
void clientdbDump(StoreEntry *)
Definition: client_db.cc:267
int clientdbEstablished(const Ip::Address &, int)
Definition: client_db.cc:182
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)
void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t)
Definition: client_db.cc:138
ClientInfo * clientdbGetInfo(const Ip::Address &addr)
Definition: client_db.cc:119
ProtocolType
Definition: ProtocolType.h:23
Definition: client_db.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors