summaryrefslogtreecommitdiff
path: root/src/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.h')
-rw-r--r--src/ssh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ssh.h b/src/ssh.h
index f7a3380..7c57999 100644
--- a/src/ssh.h
+++ b/src/ssh.h
@@ -24,4 +24,8 @@ void ssh_sftp_close(sftp_session sftp);
#define sftp_ssh(sftp) (sftp)->session
+/* wrapping multiple sftp_read|write */
+int sftp_write2(sftp_file sf, const void *buf, size_t len);
+int sftp_read2(sftp_file sf, void *buf, size_t len);
+
#endif /* _SSH_H_ */