From c2686b8febf2c57761cfa9e47c8dc533f84d1cb2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 17 Sep 2011 18:58:30 +0200 Subject: socket: Move socket function to right location. --- include/libssh/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libssh/socket.h') diff --git a/include/libssh/socket.h b/include/libssh/socket.h index 527f52e..29ded35 100644 --- a/include/libssh/socket.h +++ b/include/libssh/socket.h @@ -56,6 +56,8 @@ int ssh_socket_get_status(ssh_socket s); int ssh_socket_buffered_write_bytes(ssh_socket s); int ssh_socket_data_available(ssh_socket s); int ssh_socket_data_writable(ssh_socket s); +void ssh_socket_set_nonblocking(socket_t fd); +void ssh_socket_set_blocking(socket_t fd); void ssh_socket_set_callbacks(ssh_socket s, ssh_socket_callbacks callbacks); int ssh_socket_pollcallback(struct ssh_poll_handle_struct *p, socket_t fd, int revents, void *v_s); -- cgit