1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/proxy
Simon Tatham 74a0be9c56 Split seat_banner from seat_output.
Previously, SSH authentication banners were displayed by calling the
ordinary seat_output function, and passing it a special value in the
SeatOutputType enumeration indicating an auth banner.

The awkwardness of this was already showing a little in SshProxy's
implementation of seat_output, where it had to check for that special
value and do totally different things for SEAT_OUTPUT_AUTH_BANNER and
everything else. Further work in that area is going to make it more
and more awkward if I keep the two output systems unified.

So let's split them up. Now, Seat has separate output() and banner()
methods, which each implementation can override differently if it
wants to.

All the 'end user' Seat implementations use the centralised
implementation function nullseat_banner_to_stderr(), which turns
banner text straight back into SEAT_OUTPUT_STDERR and passes it on to
seat_output. So I didn't have to tediously implement a boring version
of this function in GTK, Windows GUI, consoles, file transfer etc.
2021-10-30 17:37:09 +01:00
..
cproxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
nocproxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
noproxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
nosshproxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
pproxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
proxy.c Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
proxy.h Move proxy-related source files into a subdirectory. 2021-10-30 17:29:24 +01:00
sshproxy.c Split seat_banner from seat_output. 2021-10-30 17:37:09 +01:00