]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_neighbors.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / stub_neighbors.cc
index 1fc471f95bf0a50d14d2014f1e151041d57a8d6d..d5af2003289ec632ea8ece40574af215fc60da7b 100644 (file)
@@ -1,9 +1,26 @@
+/*
+ * Copyright (C) 1996-2020 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"
 
 #define STUB_API "neighbors.cc"
 #include "tests/STUB.h"
 
+#include "FwdState.h"
 #include "neighbors.h"
 
 void
 peerConnClosed(CachePeer *p) STUB
+
+time_t
+peerConnectTimeout(const CachePeer *peer) STUB_RETVAL(0)
+time_t
+FwdState::ForwardTimeout(const time_t) STUB_RETVAL(0)
+bool
+FwdState::EnoughTimeToReForward(const time_t fwdStart) STUB_RETVAL(false)
+