1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00
putty-source/utils
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
..
antispoof.c Promote ssh2_userauth_antispoof_msg into utils. 2021-09-16 17:49:31 +01:00
base64_decode_atom.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
base64_encode_atom.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
bufchain.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
buildinfo.c Adopt a new universal implementation of smemclr(). 2021-04-18 08:30:44 +01:00
burnstr.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
chomp.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
CMakeLists.txt Add 'description' methods for Backend and Plug. 2021-10-24 10:48:25 +01:00
conf_dest.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
conf_launchable.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
conf.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
ctrlparse.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
debug.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
default_description.c Add 'description' methods for Backend and Plug. 2021-10-24 10:48:25 +01:00
dup_mb_to_wc.c win_set_[icon_]title: send a codepage along with the string. 2021-10-16 14:00:46 +01:00
dupcat.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
dupprintf.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
dupstr.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
encode_utf8.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
encode_wide_string_as_utf8.c win_set_[icon_]title: send a codepage along with the string. 2021-10-16 14:00:46 +01:00
fgetline.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
host_strchr_internal.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
host_strchr.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
host_strcspn.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
host_strduptrim.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
host_strrchr.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
ltime.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
marshal.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
memory.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
memxor.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
miscucs.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
null_lp.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
nullseat.c Split seat_banner from seat_output. 2021-10-30 17:37:09 +01:00
nullstrcmp.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
out_of_memory.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
parse_blocksize.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
prompts.c free_prompts: deal with a reference from an Ldisc. 2021-09-16 13:55:10 +01:00
ptrlen.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
read_file_into.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
seat_connection_fatal.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
sessprep.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
sk_free_peer_info.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
smemclr.c Fix typo in comment. 2021-04-19 17:14:01 +01:00
smemeq.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
ssh2_pick_fingerprint.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
sshutils.c Move the SSH implementation into its own subdirectory. 2021-04-22 18:09:13 +01:00
strbuf.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
string_length_for_printf.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
stripctrl.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
tempseat.c Split seat_banner from seat_output. 2021-10-30 17:37:09 +01:00
tree234.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
utils.h New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
validate_manual_hostkey.c Fix manual host key validation. 2021-10-25 18:12:21 +01:00
version.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
wcwidth.c wcwidth.c: update to Unicode 14.0.0. 2021-10-10 14:55:15 +01:00
wildcard.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
write_c_string_literal.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
x11_dehexify.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
x11_identify_auth_proto.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
x11_make_greeting.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
x11_parse_ip.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
x11authfile.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
x11authnames.c Break up x11fwd.c. 2021-04-18 08:18:27 +01:00