/*
- * 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
{
/// Depending on whether SMP is on, either ask Coordinator to send us
/// the listening FD or open a listening socket directly.
-extern void StartListening(int sock_type, int proto, const Comm::ConnectionPointer &listenConn,
- FdNoteId fdNote, AsyncCall::Pointer &callback);
+void StartListening(int sock_type, int proto, const Comm::ConnectionPointer &listenConn,
+ FdNoteId fdNote, AsyncCall::Pointer &callback);
} // namespace Ipc;
#endif /* SQUID_IPC_START_LISTENING_H */
+