1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32: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:
Simon Tatham
2018-09-30 07:16:38 +01:00
parent 8db76dc3d7
commit 431f92ade9
9 changed files with 778 additions and 607 deletions

1
defs.h
View File

@ -62,6 +62,7 @@ typedef struct Ssh Ssh;
typedef struct Channel Channel;
typedef struct SshChannel SshChannel;
typedef struct mainchan mainchan;
typedef struct ssh_sharing_state ssh_sharing_state;
typedef struct ssh_sharing_connstate ssh_sharing_connstate;