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/priv.h | 2 -- include/libssh/socket.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index bd457579..6d8eeb43 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -206,8 +206,6 @@ socket_t ssh_connect_host(ssh_session session, const char *host,const char *bind_addr, int port, long timeout, long usec); socket_t ssh_connect_host_nonblocking(ssh_session session, const char *host, const char *bind_addr, int port); -void ssh_sock_set_nonblocking(socket_t sock); -void ssh_sock_set_blocking(socket_t sock); /* in base64.c */ ssh_buffer base64_to_bin(const char *source); diff --git a/include/libssh/socket.h b/include/libssh/socket.h index 527f52ed..29ded35c 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 v1.2.3