]>
Commit | Line | Data |
---|---|---|
fc54b8d2 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
fc54b8d2 | 3 | * |
bbc27441 AJ |
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. | |
fc54b8d2 FC |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 00 Client Database */ |
10 | ||
fc54b8d2 FC |
11 | #ifndef SQUID_CLIENT_DB_H_ |
12 | #define SQUID_CLIENT_DB_H_ | |
13 | ||
14 | #include "anyp/ProtocolType.h" | |
fc54b8d2 | 15 | #include "ip/Address.h" |
02c8dde5 | 16 | #include "LogTags.h" |
c1a2df00 AJ |
17 | #if SQUID_SNMP |
18 | #include "cache_snmp.h" | |
19 | #include "snmp_vars.h" | |
20 | #endif | |
02c8dde5 | 21 | |
e4a14600 A |
22 | namespace Ip |
23 | { | |
fafe8849 FC |
24 | class Address; |
25 | } | |
fc54b8d2 FC |
26 | |
27 | class StoreEntry; | |
28 | class ClientInfo; | |
29 | ||
91369933 | 30 | void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t); |
8a648e8d FC |
31 | int clientdbCutoffDenied(const Ip::Address &); |
32 | void clientdbDump(StoreEntry *); | |
8a648e8d | 33 | int clientdbEstablished(const Ip::Address &, int); |
fc54b8d2 FC |
34 | |
35 | #if USE_DELAY_POOLS | |
8a648e8d FC |
36 | void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark); |
37 | ClientInfo * clientdbGetInfo(const Ip::Address &addr); | |
fc54b8d2 FC |
38 | #endif |
39 | ||
9c0a2256 | 40 | #if SQUID_SNMP |
8a648e8d | 41 | Ip::Address *client_entry(Ip::Address *current); |
c1a2df00 | 42 | variable_list *snmp_meshCtblFn(variable_list *, snint *); |
9c0a2256 FC |
43 | #endif |
44 | ||
fc54b8d2 | 45 | #endif /* SQUID_CLIENT_DB_H_ */ |
f53969cc | 46 |