Fix the licence again. (Despite the copyright holders being more
[u/mdw/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 8097624..2406bd6 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -3,6 +3,8 @@
 #include "puttymem.h"
 #include "network.h"
 
+struct ssh_channel;
+
 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);
@@ -195,6 +197,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