Function silc_sftp_server_start
SYNOPSIS
SilcSFTP silc_sftp_server_start(SilcStream stream,
SilcSchedule schedule,
SilcSFTPErrorCallback error_cb,
void *context,
SilcSFTPFilesystem fs);
DESCRIPTION
Starts SFTP server and returns a context to it. This function returns
the allocated SFTP server context or NULL on error. The `stream' is
the stream (connection) to the client. The `error_cb' will be called
when the `stream' is ended (SILC_SFTP_STATUS_EOF). The caller is
responsible of closing and destroying the `stream'. The `fs' is the
filesystem context allocated by the application.
|