Continue removing old flushing code

This commit is contained in:
Aris Adamantiadis
2010-07-23 11:01:06 +02:00
parent 8cd0d0040e
commit e721c122d3
13 changed files with 53 additions and 161 deletions

View File

@@ -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_ */

View File

@@ -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);