diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 15:23:48 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-08-23 15:23:48 +0200 |
commit | 6a04b43a45896822732dedec1a4a2d972fbb9b80 (patch) | |
tree | 0846d15c7f88b1b0e7559e2f0679f2c86311e53e /include/libssh/libssh.h | |
parent | 049c62098cbd0d8efc342150a194fe72c9bdf6b0 (diff) | |
download | libssh-6a04b43a45896822732dedec1a4a2d972fbb9b80.tar.gz libssh-6a04b43a45896822732dedec1a4a2d972fbb9b80.tar.xz libssh-6a04b43a45896822732dedec1a4a2d972fbb9b80.zip |
added ssh_scp_request_new,ssh_scp_request_struct
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 5dca6c1..dcdb4a0 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -120,6 +120,7 @@ typedef struct ssh_agent_struct* ssh_agent; typedef struct ssh_session_struct* ssh_session; typedef struct ssh_kbdint_struct* ssh_kbdint; typedef struct ssh_scp_struct* ssh_scp; +typedef struct ssh_scp_request_struct* ssh_scp_request; /* Socket type */ #ifdef _WIN32 @@ -467,6 +468,12 @@ enum { SSH_SCP_READ }; +enum ssh_scp_request_types { + /** A new directory is going to be pulled */ + SSH_SCP_REQUEST_NEWDIR, + /** A new file is going to be pulled */ + SSH_SCP_REQUEST_NEWFILE +}; LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); LIBSSH_API int ssh_scp_init(ssh_scp scp); LIBSSH_API int ssh_scp_close(ssh_scp scp); |