aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-06 19:43:23 +0300
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-13 14:03:35 +0300
commit4b363928f6a29e9cf2f2f33b86cb860ef0ab4dec (patch)
treef73c87a650cda30c47b1b1195af64deeccd8f172 /include
parent929f5ca25b56ce46bf49e9a44d40bab3ef2d6076 (diff)
downloadlibssh-4b363928f6a29e9cf2f2f33b86cb860ef0ab4dec.tar.gz
libssh-4b363928f6a29e9cf2f2f33b86cb860ef0ab4dec.tar.xz
libssh-4b363928f6a29e9cf2f2f33b86cb860ef0ab4dec.zip
SCP warning request
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/priv.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index ade69d38..3ab9b494 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -499,6 +499,7 @@ LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size);
LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp);
LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp);
LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp);
+LIBSSH_API const char *ssh_scp_request_get_warning(ssh_scp scp);
#ifdef __cplusplus
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index d05f3a60..1318cb08 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -373,6 +373,7 @@ struct ssh_scp_struct {
size_t processed;
enum ssh_scp_request_types request_type;
char *request_name;
+ char *warning;
int request_mode;
};