aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-07-23 11:01:06 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-07-23 11:01:06 +0200
commite721c122d3f453094d4ab27040765974620f15ef (patch)
tree5ef53f6dbd202e07c1b01748b76d76dff292c4ec /include/libssh
parent8cd0d0040e70b5a1ab0a8d8588190dd88f17ce4f (diff)
downloadlibssh-e721c122d3f453094d4ab27040765974620f15ef.tar.gz
libssh-e721c122d3f453094d4ab27040765974620f15ef.tar.xz
libssh-e721c122d3f453094d4ab27040765974620f15ef.zip
Continue removing old flushing code
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/packet.h2
-rw-r--r--include/libssh/socket.h5
2 files changed, 1 insertions, 6 deletions
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);