1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/utils
Simon Tatham 346a7548e2 New Seat method, notify_session_started().
This is called by the backend to notify the Seat that the connection
has progressed to the point where the main session channel (i.e. the
thing that would typically correspond to the client's stdin/stdout)
has been successfully set up.

The only Seat that implements this method nontrivially is the one in
SshProxy, which uses it as an indication that the proxied connection
to the remote host has succeeded, and sends the
PLUGLOG_CONNECT_SUCCESS notification to its own Plug.

Hence, the only backends that need to implement it at the moment are
the two SSH-shaped backends (SSH proper and bare-connection / psusan).
For other backends, it's not always obvious what 'main session
channel' would even mean, or whether it means anything very useful; so
I've also introduced a backend flag indicating whether the backend is
expecting to call that method at all, so as not to have to spend
pointless effort on defining an arbitrary meaning for it in other
contexts.

So a lot of this patch is just introducing the new method and putting
its trivial do-nothing implementation into all the existing Seat
methods. The interesting parts happen in ssh/mainchan.c (which
actually calls it), and sshproxy.c (which does something useful in
response).
2021-09-12 11:55:55 +01:00
..
base64_decode_atom.c
base64_encode_atom.c
bufchain.c
buildinfo.c Adopt a new universal implementation of smemclr(). 2021-04-18 08:30:44 +01:00
burnstr.c
chomp.c
CMakeLists.txt Move utils filename list into its own subdir. 2021-04-19 18:26:56 +01:00
conf_dest.c
conf_launchable.c
conf.c
ctrlparse.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
debug.c
dupcat.c
dupprintf.c
dupstr.c
encode_utf8.c New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
fgetline.c
host_strchr_internal.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
host_strchr.c
host_strcspn.c
host_strduptrim.c
host_strrchr.c
ltime.c
marshal.c
memory.c
memxor.c
miscucs.c
null_lp.c
nullseat.c New Seat method, notify_session_started(). 2021-09-12 11:55:55 +01:00
nullstrcmp.c
out_of_memory.c
parse_blocksize.c
prompts.c
ptrlen.c
read_file_into.c
seat_connection_fatal.c
sessprep.c
sk_free_peer_info.c
smemclr.c Fix typo in comment. 2021-04-19 17:14:01 +01:00
smemeq.c
ssh2_pick_fingerprint.c
sshutils.c Move the SSH implementation into its own subdirectory. 2021-04-22 18:09:13 +01:00
strbuf.c
string_length_for_printf.c
stripctrl.c
tree234.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
utils.h
validate_manual_hostkey.c
version.c
wcwidth.c
wildcard.c Build various unit-test main() programs in utils. 2021-04-18 08:30:44 +01:00
write_c_string_literal.c
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