From 75a0281a6b04772b818cb7a6a01216fdf523d206 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 26 Sep 2010 22:33:58 +0200 Subject: Fixed outgoing flow control + writes behaviours --- include/libssh/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh/socket.h') diff --git a/include/libssh/socket.h b/include/libssh/socket.h index d9bab1c7..92fc1b09 100644 --- a/include/libssh/socket.h +++ b/include/libssh/socket.h @@ -48,8 +48,8 @@ void ssh_socket_fd_set(ssh_socket s, fd_set *set, int *fd_max); void ssh_socket_set_fd_in(ssh_socket s, socket_t fd); void ssh_socket_set_fd_out(ssh_socket s, socket_t fd); int ssh_socket_nonblocking_flush(ssh_socket s); -void ssh_socket_set_towrite(ssh_socket s); -void ssh_socket_set_toread(ssh_socket s); +void ssh_socket_set_write_wontblock(ssh_socket s); +void ssh_socket_set_read_wontblock(ssh_socket s); void ssh_socket_set_except(ssh_socket s); int ssh_socket_get_status(ssh_socket s); int ssh_socket_data_available(ssh_socket s); -- cgit