]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ipc/StartListening.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / ipc / StartListening.h
index 58794c640dd506f7c0343ff53c7d2d3e703fdac2..f7b98de97e00b805842eba81163990dfdc8e9101 100644 (file)
@@ -1,20 +1,23 @@
 /*
- * DEBUG: section 54    Interprocess Communication
+ * Copyright (C) 1996-2018 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 54    Interprocess Communication */
+
 #ifndef SQUID_IPC_START_LISTENING_H
 #define SQUID_IPC_START_LISTENING_H
 
+#include "base/AsyncCall.h"
 #include "base/Subscription.h"
 #include "comm/forward.h"
 #include "ip/forward.h"
 #include "ipc/FdNotes.h"
-#include "base/AsyncCall.h"
 
-#if HAVE_IOSFWD
 #include <iosfwd>
-#endif
 
 namespace Ipc
 {
@@ -38,8 +41,9 @@ public:
 /// Depending on whether SMP is on, either ask Coordinator to send us
 /// the listening FD or open a listening socket directly.
 void StartListening(int sock_type, int proto, const Comm::ConnectionPointer &listenConn,
-                           FdNoteId fdNote, AsyncCall::Pointer &callback);
+                    FdNoteId fdNote, AsyncCall::Pointer &callback);
 
 } // namespace Ipc;
 
 #endif /* SQUID_IPC_START_LISTENING_H */
+