aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/socket.h')
-rw-r--r--include/libssh/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index e25bb0c9..285a02e3 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -55,8 +55,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);
+int ssh_socket_set_nonblocking(socket_t fd);
+int 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);