summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-06 14:26:33 +0300
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-13 14:03:34 +0300
commit7ff80a2666fcdd0ee8dc897ce5ea665a4faed681 (patch)
tree36d3d460ef90810f672d35be846e885988cb46d3 /include/libssh/libssh.h
parent480dfd905004bdbba339898d6f134ea70b531367 (diff)
downloadlibssh-7ff80a2666fcdd0ee8dc897ce5ea665a4faed681.tar.gz
libssh-7ff80a2666fcdd0ee8dc897ce5ea665a4faed681.tar.xz
libssh-7ff80a2666fcdd0ee8dc897ce5ea665a4faed681.zip
Add better error detection + EOF request
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index cfb3fbc..99d4a59 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -474,7 +474,9 @@ enum ssh_scp_request_types {
/** A new directory is going to be pulled */
SSH_SCP_REQUEST_NEWDIR=1,
/** A new file is going to be pulled */
- SSH_SCP_REQUEST_NEWFILE
+ SSH_SCP_REQUEST_NEWFILE,
+ /** End of requests */
+ SSH_SCP_REQUEST_EOF
};
LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location);