• Niels Möller's avatar
    (class lsh_options): Deleted handler attribute. Added · 7e5ee9bd
    Niels Möller authored
    detach flag.
    (make_options): Deleted handler argrment.
    (add_action): Changed argument type to client_connection_action.
    (make_client_session): Deleted handler argument in call to
    make_client_session_channel.
    (client_shell_session): Changed return type to
    client_connection_action. Use make_open_session_action.
    (client_subsystem_session): Likewise.
    (client_command_session): Likewise.
    (main_argp_parser): Changeed handling of -B, just set detach flag.
    (class lsh_default_handler): Deleted class.
    (do_lsh_default_handler): Deleted function.
    (make_lsh_default_handler): Deleted function.
    (main): Actions are now handled using the client_connection_action
    class, not as commands. Handle detach (-B flag) here.
    
    Rev: src/lsh.c:1.219
    7e5ee9bd
lsh.c 31.6 KB