]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/client_db.h
2 * Copyright (C) 1996-2014 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"
16 #include "ip/Address.h"
27 void clientdbUpdate(const Ip::Address
&, LogTags
, AnyP::ProtocolType
, size_t);
28 int clientdbCutoffDenied(const Ip::Address
&);
29 void clientdbDump(StoreEntry
*);
30 void clientdbFreeMemory(void);
31 int clientdbEstablished(const Ip::Address
&, int);
34 void clientdbSetWriteLimiter(ClientInfo
* info
, const int writeSpeedLimit
,const double initialBurst
,const double highWatermark
);
35 ClientInfo
* clientdbGetInfo(const Ip::Address
&addr
);
39 Ip::Address
*client_entry(Ip::Address
*current
);
42 #endif /* SQUID_CLIENT_DB_H_ */