diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-08-23 17:12:50 +0300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-02 22:24:47 +0200 |
commit | d127d68b9f4531aa4f47aaa95f2b99032adb99c0 (patch) | |
tree | 4cf5d211d3361be8dcc1ffee52bc84ae62cd3096 | |
parent | 730da3e3c2532a33344fd3f646c9a97ed2caada9 (diff) | |
download | libssh-d127d68b9f4531aa4f47aaa95f2b99032adb99c0.tar.gz libssh-d127d68b9f4531aa4f47aaa95f2b99032adb99c0.tar.xz libssh-d127d68b9f4531aa4f47aaa95f2b99032adb99c0.zip |
scp: Fixed documentation bug #9
(cherry picked from commit 99e6fde751365f0f3508ce9e1899d28ca4c3edb3)
-rw-r--r-- | src/scp.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -469,16 +469,20 @@ int ssh_scp_read_string(ssh_scp scp, char *buffer, size_t len){ * * @returns SSH_SCP_REQUEST_NEWFILE: The other side is sending * a file - * SSH_SCP_REQUEST_NEWDIRECTORY: The other side is sending + * SSH_SCP_REQUEST_NEWDIR: The other side is sending * a directory - * SSH_SCP_REQUEST_END_DIRECTORY: The other side has + * SSH_SCP_REQUEST_ENDDIR: The other side has * finished with the current * directory + * SSH_SCP_REQUEST_WARNING: The other side sent us a warning + * SSH_SCP_REQUEST_EOF: The other side finished sending us + * files and data. * SSH_ERROR: Some error happened * * @see ssh_scp_read() * @see ssh_scp_deny_request() * @see ssh_scp_accept_request() + * @see ssh_scp_request_get_warning() */ int ssh_scp_pull_request(ssh_scp scp){ char buffer[4096]; |