]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_client_db.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / stub_client_db.cc
index f9212222e0d89d63d6c867ee8ce4c96b8ff62cad..fd180d58e4dc40c077296b29ee3995cdf3561ff6 100644 (file)
@@ -1,20 +1,28 @@
+/*
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #include "squid.h"
-#include "client_db.h"
 
 #define STUB_API "client_db.cc"
 #include "tests/STUB.h"
 
-class ClientInfo;
-
-void clientdbInit(void) STUB
-void clientdbUpdate(const Ip::Address &, log_type, AnyP::ProtocolType, size_t) STUB
+#include "client_db.h"
+void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t) STUB
 int clientdbCutoffDenied(const Ip::Address &) STUB_RETVAL(-1)
 void clientdbDump(StoreEntry *) STUB
 void clientdbFreeMemory(void) STUB
 int clientdbEstablished(const Ip::Address &, int) STUB_RETVAL(-1)
 #if USE_DELAY_POOLS
 void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark) STUB
-ClientInfo *clientdbGetInfo(const Ip::Address &addr) STUB_RETVAL(NULL)
+ClientInfo *clientdbGetInfo(const Ip::Address &addr) STUB_RETVAL(nullptr)
+#endif
+#if SQUID_SNMP
+Ip::Address *client_entry(Ip::Address *) STUB_RETVAL(nullptr)
+variable_list *snmp_meshCtblFn(variable_list *, snint *) STUB_RETVAL(nullptr)
 #endif
-void clientOpenListenSockets(void) STUB
-void clientHttpConnectionsClose(void) STUB
+