summaryrefslogtreecommitdiff
path: root/lib/gnutls_buffers.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-20 22:59:49 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-20 23:37:12 +0200
commite201d2a1934ea1a8d3c2c0da1df6e94d3178b806 (patch)
tree73a55f5069b97da3b0a73113c71bdf3a650fedc0 /lib/gnutls_buffers.h
parent1b557d301a1482a11184a54172900a280d1f6996 (diff)
downloadgnutls-e201d2a1934ea1a8d3c2c0da1df6e94d3178b806.tar.gz
several updates in the heartbeat handling code.
Diffstat (limited to 'lib/gnutls_buffers.h')
-rw-r--r--lib/gnutls_buffers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_buffers.h b/lib/gnutls_buffers.h
index 52106acf41..193e97f21f 100644
--- a/lib/gnutls_buffers.h
+++ b/lib/gnutls_buffers.h
@@ -53,7 +53,7 @@ record_check_unprocessed (gnutls_session_t session)
int _gnutls_record_buffer_get (content_type_t type,
gnutls_session_t session, uint8_t * data,
size_t length, uint8_t seq[8]);
-ssize_t _gnutls_io_read_buffered (gnutls_session_t, size_t n, content_type_t, unsigned int ms);
+ssize_t _gnutls_io_read_buffered (gnutls_session_t, size_t n, content_type_t, unsigned int *ms);
int _gnutls_io_clear_peeked_data (gnutls_session_t session);
ssize_t _gnutls_io_write_buffered (gnutls_session_t session,
@@ -109,7 +109,7 @@ _gnutls_parse_record_buffered_msgs (gnutls_session_t session);
ssize_t
_gnutls_recv_in_buffers (gnutls_session_t session, content_type_t type,
- gnutls_handshake_description_t htype);
+ gnutls_handshake_description_t htype, unsigned int ms);
#define _gnutls_handshake_io_buffer_clear( session) \
_mbuffer_head_clear( &session->internals.handshake_send_buffer); \