+/*
+ * 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
/// 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) << ')'; }
} // namespace Comm
#endif /* SQUID_COMM_UDPOPENDIALER_H */
+