]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_client_db.cc
Sync with trunk
[thirdparty/squid.git] / src / tests / stub_client_db.cc
1 #include "config.h"
2 /* because the clientdb API is defined in protos.h still */
3 #include "protos.h"
4
5 void
6 clientdbInit(void)
7 {
8 fatal("client_db.cc required");
9 }
10
11 void
12 clientdbUpdate(const Ip::Address &, log_type, AnyP::ProtocolType, size_t)
13 {
14 fatal("client_db.cc required");
15 }
16
17 int
18 clientdbCutoffDenied(const Ip::Address &)
19 {
20 fatal("client_db.cc required");
21 return -1;
22 }
23
24 void
25 clientdbDump(StoreEntry *)
26 {
27 fatal("client_db.cc required");
28 }
29
30 void
31 clientdbFreeMemory(void)
32 {
33 fatal("client_db.cc required");
34 }
35
36 int
37 clientdbEstablished(const Ip::Address &, int)
38 {
39 fatal("client_db.cc required");
40 return -1;
41 }
42
43 #if USE_DELAY_POOLS
44 void
45 clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark)
46 {
47 fatal("client_db.cc required");
48 }
49
50 ClientInfo *
51 clientdbGetInfo(const Ip::Address &addr)
52 {
53 fatal("client_db.cc required");
54 return NULL;
55 }
56 #endif
57
58 void
59 clientOpenListenSockets(void)
60 {
61 fatal("client_db.cc required");
62 }
63
64 void
65 clientHttpConnectionsClose(void)
66 {
67 fatal("client_db.cc required");
68 }