]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/comm/Write.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / comm / Write.h
index 87aba9de2399c8fc9005d74f4506bd28f935234d..2f3625c9d450499c3a26bdfbacc7b40e88120398 100644 (file)
@@ -1,9 +1,19 @@
+/*
+ * 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.
+ */
+
 #ifndef _SQUID_COMM_IOWRITE_H
 #define _SQUID_COMM_IOWRITE_H
 
 #include "base/AsyncCall.h"
 #include "comm/forward.h"
+#include "mem/forward.h"
 
+class MemBuf;
 namespace Comm
 {
 
@@ -24,9 +34,7 @@ void Write(const Comm::ConnectionPointer &conn, MemBuf *mb, AsyncCall::Pointer &
 /// Cancel the write pending on FD. No action if none pending.
 void WriteCancel(const Comm::ConnectionPointer &conn, const char *reason);
 
-// callback handler to process an FD which is available for writing.
-extern PF HandleWrite;
-
 } // namespace Comm
 
 #endif /* _SQUID_COMM_IOWRITE_H */
+