SCP warning request

This commit is contained in:
Aris Adamantiadis
2009-09-06 19:43:23 +03:00
parent 929f5ca25b
commit 4b363928f6
4 changed files with 16 additions and 2 deletions

View File

@@ -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

View File

@@ -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;
};