mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Move mainchan into its own file, like agentf.
This gets another big pile of logic out of ssh2connection and puts it somewhere more central. Now the only thing left in ssh2connection is the formatting and parsing of the various channel requests; the logic deciding which ones to issue and what to do about them is devolved to the Channel implementation, as it properly should be.
This commit is contained in:
@ -113,6 +113,8 @@ static const struct ConnectionLayerVtable ssh1_connlayer_vtable = {
|
||||
ssh1_rportfwd_alloc,
|
||||
ssh1_rportfwd_remove,
|
||||
ssh1_lportfwd_open,
|
||||
NULL /* session_open */,
|
||||
NULL /* add_x11_display */,
|
||||
NULL /* add_sharing_x11_display */,
|
||||
NULL /* remove_sharing_x11_display */,
|
||||
NULL /* send_packet_from_downstream */,
|
||||
@ -126,6 +128,10 @@ static const struct ConnectionLayerVtable ssh1_connlayer_vtable = {
|
||||
ssh1_stdin_backlog,
|
||||
ssh1_throttle_all_channels,
|
||||
ssh1_ldisc_option,
|
||||
NULL /* set_ldisc_option */,
|
||||
NULL /* enable_x_fwd */,
|
||||
NULL /* enable_agent_fwd */,
|
||||
NULL /* set_wants_user_input */,
|
||||
};
|
||||
|
||||
struct ssh1_channel {
|
||||
|
Reference in New Issue
Block a user