mirror of
https://github.com/upa/mscp.git
synced 2026-02-27 10:44:41 +08:00
remove unused code and introduce -b buf_sz option
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh.
This commit is contained in:
@@ -72,8 +72,9 @@ int chunk_fill(struct list_head *file_list, struct list_head *chunk_list,
|
||||
|
||||
struct chunk *chunk_acquire(struct list_head *chunk_list);
|
||||
int chunk_prepare(struct chunk *c, sftp_session sftp);
|
||||
int chunk_copy(struct chunk *c, sftp_session sftp, size_t sftp_buf_sz, size_t io_buf_sz,
|
||||
int nr_ahead, size_t *counter);
|
||||
int chunk_copy(struct chunk *c, sftp_session sftp, int nr_ahead, int buf_sz,
|
||||
size_t *counter);
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
void file_dump(struct list_head *file_list);
|
||||
|
||||
Reference in New Issue
Block a user