]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/client_db.h
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 00 Client Database */
11 #ifndef SQUID_CLIENT_DB_H_
12 #define SQUID_CLIENT_DB_H_
14 #include "anyp/ProtocolType.h"
15 #include "ip/Address.h"
26 void clientdbUpdate(const Ip::Address
&, const LogTags
&, AnyP::ProtocolType
, size_t);
27 int clientdbCutoffDenied(const Ip::Address
&);
28 void clientdbDump(StoreEntry
*);
29 void clientdbFreeMemory(void);
30 int clientdbEstablished(const Ip::Address
&, int);
33 void clientdbSetWriteLimiter(ClientInfo
* info
, const int writeSpeedLimit
,const double initialBurst
,const double highWatermark
);
34 ClientInfo
* clientdbGetInfo(const Ip::Address
&addr
);
38 Ip::Address
*client_entry(Ip::Address
*current
);
41 #endif /* SQUID_CLIENT_DB_H_ */