]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/Response.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / Response.cc
index 38d48865b1783425b2023958ea047010618e41b1..5ad63da91925c7e0e6fcb04d3cb9397a030c910c 100644 (file)
@@ -1,11 +1,14 @@
 /*
- * $Id$
- *
- * DEBUG: section 16    Cache Manager API
+ * Copyright (C) 1996-2017 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 "config.h"
+/* DEBUG: section 16    Cache Manager API */
+
+#include "squid.h"
 #include "base/TextException.h"
 #include "CacheManager.h"
 #include "ipc/Messages.h"
 #include "mgr/ActionProfile.h"
 #include "mgr/Response.h"
 
-
 Mgr::Response::Response(unsigned int aRequestId, Action::Pointer anAction):
-        Ipc::Response(aRequestId), action(anAction)
+    Ipc::Response(aRequestId), action(anAction)
 {
     Must(!action || action->name()); // if there is an action, it must be named
 }
 
 Mgr::Response::Response(const Response& response):
-        Ipc::Response(response.requestId), action(response.action)
+    Ipc::Response(response.requestId), action(response.action)
 {
 }
 
 Mgr::Response::Response(const Ipc::TypedMsgHdr& msg):
-        Ipc::Response(0)
+    Ipc::Response(0)
 {
     msg.checkType(Ipc::mtCacheMgrResponse);
     msg.getPod(requestId);
@@ -72,3 +74,4 @@ Mgr::Response::getAction() const
     Must(hasAction());
     return *action;
 }
+