summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-06 19:35:40 +0300
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-13 14:03:34 +0300
commit929f5ca25b56ce46bf49e9a44d40bab3ef2d6076 (patch)
tree4641c368f4b655e01c4fd9ee1262f9340419a2a0 /include/libssh/libssh.h
parent7ff80a2666fcdd0ee8dc897ce5ea665a4faed681 (diff)
downloadlibssh-929f5ca25b56ce46bf49e9a44d40bab3ef2d6076.tar.gz
libssh-929f5ca25b56ce46bf49e9a44d40bab3ef2d6076.tar.xz
libssh-929f5ca25b56ce46bf49e9a44d40bab3ef2d6076.zip
scp recursive mode
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 99d4a59..ade69d3 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -467,7 +467,8 @@ enum {
/** Code is going to write/create remote files */
SSH_SCP_WRITE,
/** Code is going to read remote files */
- SSH_SCP_READ
+ SSH_SCP_READ,
+ SSH_SCP_RECURSIVE=0x10
};
enum ssh_scp_request_types {
@@ -476,7 +477,11 @@ enum ssh_scp_request_types {
/** A new file is going to be pulled */
SSH_SCP_REQUEST_NEWFILE,
/** End of requests */
- SSH_SCP_REQUEST_EOF
+ SSH_SCP_REQUEST_EOF,
+ /** End of directory */
+ SSH_SCP_REQUEST_ENDDIR,
+ /** Warning received */
+ SSH_SCP_REQUEST_WARNING
};
LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location);