• Niels Möller's avatar
    * src/tcpforward.c: Made forwarded_port a super class for · 69c21d23
    Niels Möller authored
    local_port and remote_port.
    (do_channel_open_direct_tcpip): Free dest_host on failure.
    (make_forward_listen): Added backend parameter.
    (remote_port): New class.
    (make_remote_port): New function.
    (remote_port_install_continuation): New class.
    (make_remote_port_install_continuation): New function.
    (request_tcpip_forward_command): New class.
    (make_request_tcpip_forward_command): New function.
    (remote_listen_value): New class.
    (make_remote_listen_value): New function.
    (start_forwarded_client_io): New command.
    (make_start_forwarded_client_io) New function.
    (make_forward_remote_port): New expression.
    (forward_remote_port): New function.
    
    Rev: src/tcpforward.c:1.17
    Rev: src/tcpforward.h:1.6
    69c21d23
tcpforward.h 2.08 KB