mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
Improve channel_send_eof().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@687 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -752,13 +752,18 @@ void channel_free(CHANNEL *channel) {
|
|||||||
leave_function();
|
leave_function();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** it doesn't close the channel. You may still read from it but not write.
|
/**
|
||||||
* \brief send an end of file on the channel
|
* @brief Send an end of file on the channel.
|
||||||
* \param channel channel
|
*
|
||||||
* \return SSH_ERROR on error\n
|
* This doesn't close the channel. You may still read from it but not write.
|
||||||
* SSH_SUCCESS on success
|
*
|
||||||
* \see channel_close()
|
* @param channel The channel to send the eof to.
|
||||||
* \see channel_free()
|
*
|
||||||
|
* @return SSH_SUCCESS on success\n
|
||||||
|
* SSH_ERROR on error\n
|
||||||
|
*
|
||||||
|
* @see channel_close()
|
||||||
|
* @see channel_free()
|
||||||
*/
|
*/
|
||||||
int channel_send_eof(CHANNEL *channel){
|
int channel_send_eof(CHANNEL *channel){
|
||||||
SSH_SESSION *session = channel->session;
|
SSH_SESSION *session = channel->session;
|
||||||
|
|||||||
Reference in New Issue
Block a user