diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/packet.h | 2 | ||||
-rw-r--r-- | include/libssh/socket.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h index 06566f7..414c0ac 100644 --- a/include/libssh/packet.h +++ b/include/libssh/packet.h @@ -56,7 +56,7 @@ int ssh_packet_socket_callback1(const void *data, size_t receivedlen, void *user SSH_PACKET_CALLBACK(ssh_packet_unimplemented); int ssh_packet_send_unimplemented(ssh_session session, uint32_t seqnum); int ssh_packet_parse_type(ssh_session session); -int packet_flush(ssh_session session, int enforce_blocking); +//int packet_flush(ssh_session session, int enforce_blocking); #endif /* PACKET_H_ */ diff --git a/include/libssh/socket.h b/include/libssh/socket.h index 1b18e04..d9bab1c 100644 --- a/include/libssh/socket.h +++ b/include/libssh/socket.h @@ -47,12 +47,7 @@ int ssh_socket_fd_isset(ssh_socket s, fd_set *set); 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_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_nonblocking_flush(ssh_socket s); -int ssh_socket_blocking_flush(ssh_socket s); -//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); |