]>
Commit | Line | Data |
---|---|---|
fc54b8d2 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 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 AJ |
16 | #include "LogTags.h" |
17 | ||
e4a14600 A |
18 | namespace Ip |
19 | { | |
fafe8849 FC |
20 | class Address; |
21 | } | |
fc54b8d2 FC |
22 | |
23 | class StoreEntry; | |
24 | class ClientInfo; | |
25 | ||
91369933 | 26 | void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t); |
8a648e8d FC |
27 | int clientdbCutoffDenied(const Ip::Address &); |
28 | void clientdbDump(StoreEntry *); | |
29 | void clientdbFreeMemory(void); | |
30 | int clientdbEstablished(const Ip::Address &, int); | |
fc54b8d2 FC |
31 | |
32 | #if USE_DELAY_POOLS | |
8a648e8d FC |
33 | void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark); |
34 | ClientInfo * clientdbGetInfo(const Ip::Address &addr); | |
fc54b8d2 FC |
35 | #endif |
36 | ||
9c0a2256 | 37 | #if SQUID_SNMP |
8a648e8d | 38 | Ip::Address *client_entry(Ip::Address *current); |
9c0a2256 FC |
39 | #endif |
40 | ||
fc54b8d2 | 41 | #endif /* SQUID_CLIENT_DB_H_ */ |
f53969cc | 42 |