Introduce a sane interface function, from_backend(), for backends to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 20 Oct 2000 13:51:46 +0000 (13:51 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 20 Oct 2000 13:51:46 +0000 (13:51 +0000)
commitfe50e8140a2dbb3ba357a0ab777f34e07d568c23
tree4fad54c197644433ad12f5e73b3ae65e200fe83c
parentf317611e5572e4292e3ee88f6956a97fcd794089
Introduce a sane interface function, from_backend(), for backends to
use when they have data from the network. Replaces the utterly daft
inbuf / inbuf_head / term_out() interface, which only made sense
when feeding to terminal.c. (terminal.c now implements
from_backend() as a small function that gateways to the old
interface.)

As a side effect, from_backend() also has an `is_stderr' parameter,
so scp can once again separate the server's pronouncements on stderr
from the actual protocol progress on stdout.

git-svn-id: svn://svn.tartarus.org/sgt/putty@729 cda61777-01e9-0310-a592-d414129be87e
ldisc.c
plink.c
putty.h
raw.c
scp.c
ssh.c
telnet.c
terminal.c
window.c