mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Server prep: parse a lot of new channel requests.
ssh2connection.c now knows how to unmarshal the message formats for all the channel requests we'll need to handle when we're the server and a client sends them. Each one is translated into a call to a new method in the Channel vtable, which is implemented by a trivial 'always fail' routine in every channel type we know about so far.
This commit is contained in:
2
ssh.h
2
ssh.h
@ -1435,6 +1435,8 @@ struct ssh_ttymodes {
|
||||
};
|
||||
|
||||
struct ssh_ttymodes get_ttymodes_from_conf(Seat *seat, Conf *conf);
|
||||
struct ssh_ttymodes read_ttymodes_from_packet(
|
||||
BinarySource *bs, int ssh_version);
|
||||
void write_ttymodes_to_packet(BinarySink *bs, int ssh_version,
|
||||
struct ssh_ttymodes modes);
|
||||
|
||||
|
Reference in New Issue
Block a user