]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Introduce a sane interface function, from_backend(), for backends to
authorSimon Tatham <anakin@pobox.com>
Fri, 20 Oct 2000 13:51:46 +0000 (13:51 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 20 Oct 2000 13:51:46 +0000 (13:51 +0000)
commit5ea878ebec86c93c9690c3df2d6b28c45a845fb7
tree4fad54c197644433ad12f5e73b3ae65e200fe83c
parent7ee4290d64d3f391566ee7d8778bd771b1861a2d
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: http://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