summaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorJames Housley <jim@thehousleys.net>2007-07-10 22:26:32 +0000
committerJames Housley <jim@thehousleys.net>2007-07-10 22:26:32 +0000
commit8026d94c07cae4185b3e88872fb68ecd071a2c00 (patch)
tree791d878e5b8736f037d9eb0d0d26a2afbd7f5890 /lib/ssh.h
parent93bd5123571092b2ccf925ca00cfe107e00f9f68 (diff)
downloadcurl-8026d94c07cae4185b3e88872fb68ecd071a2c00.tar.gz
* Finish moving sftp:// into a state machine so it won't block in multi mode
* Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index d83e013f2..8e5c4718c 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -45,6 +45,13 @@ ssize_t Curl_sftp_send(struct connectdata *conn, int sockindex,
ssize_t Curl_sftp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);
+#if (LIBSSH2_APINO >= 200706012030)
+CURLcode Curl_sftp_doing(struct connectdata *conn,
+ bool *dophase_done);
+CURLcode Curl_scp_doing(struct connectdata *conn,
+ bool *dophase_done);
+#endif (LIBSSH2_APINO >= 200706012030)
+
#endif /* USE_LIBSSH2 */
#endif /* __SSH_H */