]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/comm/UdpOpenDialer.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / comm / UdpOpenDialer.h
index ed72b8ff0660dc5f34cc93ba9b69b6c85d8a1b65..2fa5c33a444efc400b09309ff0e4b8142d7f247c 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2015 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_UDPOPENDIALER_H
 #define SQUID_COMM_UDPOPENDIALER_H
 
@@ -8,10 +16,10 @@ namespace Comm
 
 /// dials a UDP port-opened call
 class UdpOpenDialer: public CallDialer,
-        public Ipc::StartListeningCb
+    public Ipc::StartListeningCb
 {
 public:
-    typedef void (*Handler)((const Comm::ConnectionPointer &conn, int errNo);
+    typedef void (*Handler)(const Comm::ConnectionPointer &conn, int errNo);
     UdpOpenDialer(Handler aHandler): handler(aHandler) {}
 
     virtual void print(std::ostream &os) const { startPrint(os) << ')'; }
@@ -25,3 +33,4 @@ public:
 } // namespace Comm
 
 #endif /* SQUID_COMM_UDPOPENDIALER_H */
+