From 1509a7678ed012c0eaa7fd26f9caae9fb9ad0998 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 14 Apr 2005 15:49:10 +0000 Subject: Clean up #include situation, merge from gnutls_1_2_1_with_include_fixes. Now lib/gnutls_int.h start by including gnutls/gnutls.h, to check prototypes during compile time. More cleanups are expected. --- lib/gnutls_handshake.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/gnutls_handshake.h') diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h index dcc28c3d8a..7e04608c20 100644 --- a/lib/gnutls_handshake.h +++ b/lib/gnutls_handshake.h @@ -25,7 +25,7 @@ typedef enum Optional { OPTIONAL_PACKET, MANDATORY_PACKET } Optional; int _gnutls_send_handshake(gnutls_session_t session, void *i_data, - uint32 i_datasize, handshake_t type); + uint32 i_datasize, gnutls_handshake_description_t type); int gnutls_send_hello_request(gnutls_session_t session); int _gnutls_recv_hello_request(gnutls_session_t session, void *data, uint32 data_size); @@ -34,7 +34,7 @@ int _gnutls_recv_hello(gnutls_session_t session, opaque * data, int datalen); int gnutls_handshake(gnutls_session_t session); int _gnutls_recv_handshake(gnutls_session_t session, uint8 **, int *, - handshake_t, Optional optional); + gnutls_handshake_description_t, Optional optional); int _gnutls_generate_session_id(opaque * session_id, uint8 * len); int _gnutls_handshake_common(gnutls_session_t session); int _gnutls_handshake_client(gnutls_session_t session); -- cgit v1.2.1