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, 2 insertions, 2 deletions
diff --git a/src/ssh.h b/src/ssh.h
index 7c57999..fcee29d 100644
--- a/src/ssh.h
+++ b/src/ssh.h
@@ -25,7 +25,7 @@ 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);
+int sftp_write2(sftp_file sf, const void *buf, size_t len, size_t sftp_buf_sz);
+int sftp_read2(sftp_file sf, void *buf, size_t len, size_t sftp_buf_sz);
#endif /* _SSH_H_ */