X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d74d141c2daed084c8a62c5dc5b88e801b81ee5a..fd5e5847eb0f834ce8124f0574bd3cfaf878db53:/ssh.h diff --git a/ssh.h b/ssh.h index d7b5b162..f2558d8e 100644 --- a/ssh.h +++ b/ssh.h @@ -3,6 +3,10 @@ #include "puttymem.h" #include "network.h" +extern void sshfwd_close(struct ssh_channel *c); +extern int sshfwd_write(struct ssh_channel *c, char *, int); +extern void sshfwd_unthrottle(struct ssh_channel *c, int bufsize); + /* * Useful thing. */ @@ -191,6 +195,13 @@ extern const struct ssh_mac ssh_sha1_buggy; */ extern char sshver[]; +/* + * Gross hack: pscp will try to start SFTP but fall back to scp1 if + * that fails. This variable is the means by which scp.c can reach + * into the SSH code and find out which one it got. + */ +extern int ssh_fallback_cmd; + #ifndef MSCRYPTOAPI void SHATransform(word32 * digest, word32 * data); #endif