summaryrefslogtreecommitdiff
path: root/lib/gnutls_buffers.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-01 20:10:12 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-01 20:10:12 +0000
commit5a1d743aa8f7d736a51020d9af123e082712dbd1 (patch)
tree2d3ceac6076bcfb79b3d99c2a7b929e546dc79fe /lib/gnutls_buffers.h
parentde83b6e7c3855ddd8d709f10123578057b28fa61 (diff)
downloadgnutls-5a1d743aa8f7d736a51020d9af123e082712dbd1.tar.gz
Adopted some of the patches of Jon Nelson. Fixes the non blocking
behaviour.
Diffstat (limited to 'lib/gnutls_buffers.h')
-rw-r--r--lib/gnutls_buffers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gnutls_buffers.h b/lib/gnutls_buffers.h
index e32ba97c87..fedd8644cb 100644
--- a/lib/gnutls_buffers.h
+++ b/lib/gnutls_buffers.h
@@ -34,5 +34,6 @@ int gnutls_readHashDataFromBuffer( GNUTLS_STATE state, char *data, int length);
int gnutls_insertHashDataBuffer( GNUTLS_STATE state, char *data, int length);
int gnutls_clearHashDataBuffer( GNUTLS_STATE state);
-ssize_t _gnutls_handshake_recv_int(int fd, GNUTLS_STATE, ContentType, HandshakeType, void *, size_t);
-ssize_t _gnutls_handshake_send_int(int fd, GNUTLS_STATE, ContentType, HandshakeType, void *, size_t);
+ssize_t _gnutls_handshake_recv_int(SOCKET fd, GNUTLS_STATE, ContentType, HandshakeType, void *, size_t);
+ssize_t _gnutls_handshake_send_int(SOCKET fd, GNUTLS_STATE, ContentType, HandshakeType, void *, size_t);
+ssize_t _gnutls_flush(SOCKET fd, GNUTLS_STATE state);