mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Loose end from r5031: the Kex panel should only be displayed in
mid-session if we are not using SSHv1. I've done this by introducing
a generic `cfg_info' function which every back end can use to
communicate an int's worth of data to setup_config_box; in SSH
that's the protocol version in use, and in everything else it's
currently zero.
[originally from svn r5040]
[r5031 == d77102a8d5
]
This commit is contained in:
3
putty.h
3
putty.h
@ -340,6 +340,7 @@ struct backend_tag {
|
||||
* buffer is clearing.
|
||||
*/
|
||||
void (*unthrottle) (void *handle, int);
|
||||
int (*cfg_info) (void *handle);
|
||||
int default_port;
|
||||
};
|
||||
|
||||
@ -920,7 +921,7 @@ void cmdline_error(char *, ...);
|
||||
*/
|
||||
struct controlbox;
|
||||
void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
|
||||
int midsession, int protocol);
|
||||
int midsession, int protocol, int protcfginfo);
|
||||
|
||||
/*
|
||||
* Exports from minibidi.c.
|
||||
|
Reference in New Issue
Block a user