]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/StoreToCommWriter.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / mgr / StoreToCommWriter.h
index 911f8276a9ffa9fb9324534538132f9b287a39a7..367d516549cc1f1cfb1ff7b3f6109f2e5de3b493 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * $Id$
- *
- * DEBUG: section 16    Cache Manager API
+ * 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.
  */
 
+/* DEBUG: section 16    Cache Manager API */
+
 #ifndef SQUID_MGR_STORE_TO_COMM_WRITER_H
 #define SQUID_MGR_STORE_TO_COMM_WRITER_H
 
@@ -13,7 +16,6 @@
 #include "mgr/Action.h"
 #include "StoreIOBuffer.h"
 
-
 class store_client;
 class CommIoCbParams;
 class CommCloseCbParams;
@@ -25,6 +27,8 @@ namespace Mgr
 /// for the given StoreEntry and client FD
 class StoreToCommWriter: public AsyncJob
 {
+    CBDATA_CLASS(StoreToCommWriter);
+
 public:
     StoreToCommWriter(const Comm::ConnectionPointer &conn, StoreEntry *anEntry);
     virtual ~StoreToCommWriter();
@@ -62,10 +66,9 @@ protected:
 
     AsyncCall::Pointer closer; ///< comm_close handler
     char buffer[HTTP_REQBUF_SZ]; ///< action results; Store fills, Comm writes
-
-    CBDATA_CLASS2(StoreToCommWriter);
 };
 
 } // namespace Mgr
 
 #endif /* SQUID_MGR_STORE_TO_COMM_WRITER_H */
+