1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

server: Merge ssh_bind_accept.

This commit is contained in:
Andreas Schneider
2010-08-09 21:28:16 +02:00
parent 561df8d9a2
commit 39c9a6dfed
3 changed files with 87 additions and 110 deletions

View File

@@ -131,17 +131,6 @@ LIBSSH_API int ssh_bind_accept(ssh_bind ssh_bind_o, ssh_session session);
*/
LIBSSH_API void ssh_bind_free(ssh_bind ssh_bind_o);
/**
* @brief Accept the incoming connections.
*
* This exchanges the banner and cryptographic keys.
*
* @param session The ssh session to accept a connection.
*
* @return 0 on success, < 0 on error.
*/
LIBSSH_API int ssh_bind_accept(ssh_session session);
LIBSSH_API int channel_write_stderr(ssh_channel channel, const void *data, uint32_t len);
/* messages.c */