diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-12-06 15:02:14 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-12-06 15:02:14 +0900 |
commit | c4ea9a1e78e6c023d048bc2d593b05f91eec0941 (patch) | |
tree | e0f4527c8ce24178d8905c839cc902390bf418fd /src/ssh.c | |
parent | 289293e812b8e8fdc74c8070efb951ae1e4d1fcb (diff) |
add ssh_buffer_new_size and ssh_buffer_add_func to libssh
sftp_async_write() with these functions reduces
1. realloc_buffer by ssh_buffer_new_size()
2. memcpy from read data to ssh buffer by ssh_buffer_add_func()
Diffstat (limited to 'src/ssh.c')
0 files changed, 0 insertions, 0 deletions