diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-12-03 20:48:43 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-12-03 20:48:43 +0900 |
commit | 3b794ab51b04cd82f84f5b820f57267695066d80 (patch) | |
tree | 2b490f895106da5fa3012f1765bd8bd894b97f12 /src/ssh.h | |
parent | 50c6781811c880fa98ab368c11e9c33d2804dbf8 (diff) |
remove unused code and introduce -b buf_sz option
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on
the patched libssh.
Diffstat (limited to 'src/ssh.h')
-rw-r--r-- | src/ssh.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -30,8 +30,4 @@ void ssh_sftp_close(sftp_session sftp); #define sftp_ssh(sftp) (sftp)->session #define sftp_get_ssh_error(sftp) ssh_get_error(sftp_ssh(sftp)) -/* wrapping multiple sftp_read|write */ -ssize_t sftp_write2(sftp_file sf, const void *buf, size_t len, size_t sftp_buf_sz); -ssize_t sftp_read2(sftp_file sf, void *buf, size_t len, size_t sftp_buf_sz); - #endif /* _SSH_H_ */ |