diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 14:57:03 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 14:57:03 +0200 |
commit | 049c62098cbd0d8efc342150a194fe72c9bdf6b0 (patch) | |
tree | 0964a8602a1168c66f62f150e13743919d49e4b8 /include | |
parent | 6801959989defc3c360c5b7dc16c5bcc6a0f9c6b (diff) | |
download | libssh-049c62098cbd0d8efc342150a194fe72c9bdf6b0.tar.gz libssh-049c62098cbd0d8efc342150a194fe72c9bdf6b0.tar.xz libssh-049c62098cbd0d8efc342150a194fe72c9bdf6b0.zip |
add ssh_scp_push_directory,ssh_scp_leave_directory
Not yet carefully tested
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 3bb82617..5dca6c12 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -471,6 +471,8 @@ LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *locati LIBSSH_API int ssh_scp_init(ssh_scp scp); LIBSSH_API int ssh_scp_close(ssh_scp scp); LIBSSH_API void ssh_scp_free(ssh_scp scp); +LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, const char *perms); +LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, const char *perms); LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); |