|
libssh 0.12.0
The SSH library
|
SFTP server handling functions. More...
Data Structures |
Macros | |
| #define | SSH_SFTP_CALLBACK(name) |
Typedefs | |
| typedef int(* | sftp_server_message_callback) (sftp_client_message message) |
Functions | |
| LIBSSH_API int | sftp_channel_default_subsystem_request (ssh_session session, ssh_channel channel, const char *subsystem, void *userdata) |
| Default subsystem request handler for SFTP subsystem. | |
| LIBSSH_API int | sftp_channel_default_data_callback (ssh_session session, ssh_channel channel, void *data, uint32_t len, int is_stderr, void *userdata) |
SFTP server handling functions.
TODO
| #define SSH_SFTP_CALLBACK | ( | name | ) |
| LIBSSH_API int sftp_channel_default_subsystem_request | ( | ssh_session | session, |
| ssh_channel | channel, | ||
| const char * | subsystem, | ||
| void * | userdata ) |
Default subsystem request handler for SFTP subsystem.
| [in] | session | The ssh session |
| [in] | channel | The existing ssh channel |
| [in] | subsystem | The subsystem name. Only "sftp" is handled |
| [out] | userdata | The pointer to sftp_session which will get the resulting SFTP session |