aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-08-23 17:12:50 +0300
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-02 11:40:52 +0300
commit99e6fde751365f0f3508ce9e1899d28ca4c3edb3 (patch)
tree1b30f45b60e493625f3043136548f24cd03a9e05
parent5c48438dcbc42268c9a3363c086871ee083bf798 (diff)
downloadlibssh-99e6fde751365f0f3508ce9e1899d28ca4c3edb3.tar.gz
libssh-99e6fde751365f0f3508ce9e1899d28ca4c3edb3.tar.xz
libssh-99e6fde751365f0f3508ce9e1899d28ca4c3edb3.zip
scp: Fixed documentation bug #9
-rw-r--r--src/scp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scp.c b/src/scp.c
index 3a95c24c..e9037750 100644
--- a/src/scp.c
+++ b/src/scp.c
@@ -494,16 +494,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];