From e721c122d3f453094d4ab27040765974620f15ef Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 23 Jul 2010 11:01:06 +0200 Subject: Continue removing old flushing code --- include/libssh/packet.h | 2 +- include/libssh/socket.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/packet.h b/include/libssh/packet.h index 06566f71..414c0ac0 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 1b18e045..d9bab1c7 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); -- cgit