Function silc_sftp_server_start
SYNOPSIS
SilcSFTP silc_sftp_server_start(SilcSocketConnection sock,
SilcSFTPSendPacketCallback send_packet,
void *send_context,
SilcSFTPFilesystem fs);
DESCRIPTION
Starts SFTP server by associating the socket connection `sock' to the
created SFTP server context. This function returns the allocated
SFTP client context or NULL on error. The `send_packet' is called
by the library when it needs to send a packet. The `fs' is the
filesystem context allocated by the application.
|