summaryrefslogtreecommitdiff
path: root/lib/gnutls_handshake.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-05 19:28:46 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-06 22:26:50 +0100
commitb6b52f6c19ef13337892be120d29f62526fbb15d (patch)
treefde54eaa8c1106f05fe193a6f047511f7b72d2c2 /lib/gnutls_handshake.h
parent789b253b7946c1c0136c4f795afa37ffc75fdd80 (diff)
downloadgnutls-b6b52f6c19ef13337892be120d29f62526fbb15d.tar.gz
Added intermediate handshake layer that will order handshake packets and drop duplicates.
Diffstat (limited to 'lib/gnutls_handshake.h')
-rw-r--r--lib/gnutls_handshake.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h
index e3200443cb..6792bbe0ce 100644
--- a/lib/gnutls_handshake.h
+++ b/lib/gnutls_handshake.h
@@ -32,9 +32,9 @@ int _gnutls_recv_hello_request (gnutls_session_t session, void *data,
uint32_t data_size);
int _gnutls_send_hello (gnutls_session_t session, int again);
int _gnutls_recv_hello (gnutls_session_t session, opaque * data, int datalen);
-int _gnutls_recv_handshake (gnutls_session_t session, uint8_t **, int *,
- gnutls_handshake_description_t,
- optional_t optional);
+int _gnutls_recv_handshake (gnutls_session_t session,
+ gnutls_handshake_description_t type,
+ optional_t optional, gnutls_buffer_st* buf);
int _gnutls_generate_session_id (opaque * session_id, uint8_t * len);
int _gnutls_handshake_common (gnutls_session_t session);
int _gnutls_handshake_client (gnutls_session_t session);