1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/otherbackends
Simon Tatham 44db74ec51 Introduce a new 'Interactor' trait.
This trait will be implemented by anything that wants to display
interactive prompts or notifications to the user in the course of
setting up a network connection, _or_ anything that wants to make a
network connection whose proxy setup might in turn need to do that.

To begin with, that means every Backend that makes network connections
at all must be an Interactor, because any of those network connections
might be proxied via an SSH jump host which might need to interact
with the user.

I'll fill in the contents of this trait over the next few commits, to
keep the patches comprehensible. For the moment, I've just introduced
the trait, set up implementations of it in the five network backends,
and given it a single 'description' method.

The previous 'description' methods of Backend and Plug are now
removed, and their work is done by the new Interactor method instead.
(I changed my mind since last week about where that should best live.)
This isn't too much of an upheaval, fortunately, because I hadn't got
round yet to committing anything that used those methods!
2021-10-30 18:19:54 +01:00
..
CMakeLists.txt Move other backends into a subdirectory. 2021-04-22 18:24:15 +01:00
raw.c Introduce a new 'Interactor' trait. 2021-10-30 18:19:54 +01:00
rlogin.c Introduce a new 'Interactor' trait. 2021-10-30 18:19:54 +01:00
supdup.c Introduce a new 'Interactor' trait. 2021-10-30 18:19:54 +01:00
telnet.c Introduce a new 'Interactor' trait. 2021-10-30 18:19:54 +01:00
testback.c Lowercase version of BackendVtable's displayname. 2021-10-24 09:59:05 +01:00