]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_carp.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / tests / stub_carp.cc
index 949f0de07e7f86a33462c962556df5643af52d05..35270c2d8268af93564d11597ef6d4c3d877c92c 100644 (file)
@@ -1,11 +1,21 @@
+/*
+ * Copyright (C) 1996-2023 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 "carp.cc"
 #include "tests/STUB.h"
 
+#include "carp.h"
+
 class CachePeer;
-class HttpRequest;
+class PeerSelector;
 
 void carpInit(void) STUB
-CachePeer * carpSelectParent(HttpRequest *) STUB_RETVAL(NULL)
+CachePeer *carpSelectParent(PeerSelector *) STUB_RETVAL(nullptr)