mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
ssh_scp_push_file and ssh_scp_write
still needs tests
This commit is contained in:
@@ -436,7 +436,8 @@ ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location);
|
||||
int ssh_scp_init(ssh_scp scp);
|
||||
int ssh_scp_close(ssh_scp scp);
|
||||
void ssh_scp_free(ssh_scp scp);
|
||||
|
||||
int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, const char *perms);
|
||||
int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -347,6 +347,8 @@ struct ssh_scp_struct {
|
||||
int mode;
|
||||
ssh_channel channel;
|
||||
char *location;
|
||||
size_t filelen;
|
||||
size_t processed;
|
||||
};
|
||||
|
||||
struct ssh_message;
|
||||
|
||||
Reference in New Issue
Block a user