]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/clients/forward.h
Maintenance: Remove FIXME and \todo labels (#647)
[thirdparty/squid.git] / src / clients / forward.h
index fcf79b71652f6d0a2bb4c923e5e5366414b042b4..ca9faf53528b194866ac176b13b67a3cf6bf00f3 100644 (file)
@@ -1,6 +1,16 @@
+/*
+ * 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.
+ */
+
 #ifndef SQUID_CLIENTS_FORWARD_H
 #define SQUID_CLIENTS_FORWARD_H
 
+#include "sbuf/forward.h"
+
 class FwdState;
 class HttpRequest;
 
@@ -8,6 +18,12 @@ class AsyncJob;
 template <class Cbc> class CbcPointer;
 typedef CbcPointer<AsyncJob> AsyncJobPointer;
 
+namespace Http
+{
+class Tunneler;
+class TunnelerAnswer;
+}
+
 namespace Ftp
 {
 
@@ -25,10 +41,11 @@ AsyncJobPointer StartRelay(FwdState *const fwdState);
  *  We use standard URI-encoding on the second / making it
  *  ftp:host:port/%2froot/path  AKA 'the FTP %2f hack'.
  *
- * \todo Should be a URL class API call.
+ * TODO: Should be an AnyP::Uri member
  */
-const char *UrlWith2f(HttpRequest *);
+const SBuf &UrlWith2f(HttpRequest *);
 
 } // namespace Ftp
 
 #endif /* SQUID_CLIENTS_FORWARD_H */
+