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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libssh/socket.h b/include/libssh/socket.h
index 158d123..4eb2027 100644
--- a/include/libssh/socket.h
+++ b/include/libssh/socket.h
@@ -41,7 +41,6 @@ void ssh_execute_command(const char *command, socket_t in, socket_t out);
int ssh_socket_connect_proxycommand(ssh_socket s, const char *command);
#endif
void ssh_socket_close(ssh_socket s);
-int ssh_socket_read(ssh_socket s, void *buffer, int len);
int ssh_socket_write(ssh_socket s,const void *buffer, int len);
int ssh_socket_is_open(ssh_socket s);
int ssh_socket_fd_isset(ssh_socket s, fd_set *set);
@@ -50,10 +49,10 @@ 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_completeread(ssh_socket s, void *buffer, uint32_t len);
int ssh_socket_completewrite(ssh_socket s, const void *buffer, uint32_t len);
-int ssh_socket_wait_for_data(ssh_socket s, ssh_session session, uint32_t len);
+//int ssh_socket_wait_for_data(ssh_socket s, ssh_session session, uint32_t len);
int ssh_socket_nonblocking_flush(ssh_socket s);
int ssh_socket_blocking_flush(ssh_socket s);
-int ssh_socket_poll(ssh_socket s, int *writeable, int *except);
+//int ssh_socket_poll(ssh_socket s, int *writeable, int *except);
void ssh_socket_set_towrite(ssh_socket s);
void ssh_socket_set_toread(ssh_socket s);
void ssh_socket_set_except(ssh_socket s);