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 9f0e7d2915 Backends: notify ldisc when sendok becomes true. (NFC)
I've introduced a function ldisc_notify_sendok(), which backends
should call on their ldisc (if they have one) when anything changes
that might cause backend_sendok() to start returning true.

At the moment, the function does nothing. But in future, I'm going to
make ldisc start buffering typed-ahead input data not yet sent to the
backend, and then the effect of this function will be to trigger
flushing all that data into the backend.

Backends only have to call this function if sendok was previously
false: backends requiring no network connection stage (like pty and
serial) can safely return true from sendok, and in that case, they
don't also have to immediately call this function.
2021-09-14 11:23:20 +01:00
..
CMakeLists.txt Move other backends into a subdirectory. 2021-04-22 18:24:15 +01:00
raw.c Backends: notify ldisc when sendok becomes true. (NFC) 2021-09-14 11:23:20 +01:00
rlogin.c Backends: notify ldisc when sendok becomes true. (NFC) 2021-09-14 11:23:20 +01:00
supdup.c Backends: notify ldisc when sendok becomes true. (NFC) 2021-09-14 11:23:20 +01:00
telnet.c Backends: notify ldisc when sendok becomes true. (NFC) 2021-09-14 11:23:20 +01:00
testback.c testback.c: remove emacs magic comment. 2021-09-12 15:10:35 +01:00