diff options
author | Jonathan Bastien-Filiatrault <joe@x2a.org> | 2009-08-16 14:09:38 -0400 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-03 19:40:26 +0200 |
commit | 0731bfe19602c907d3e4e7693f7fef8bcd8eb58c (patch) | |
tree | a0f068368069919323f5cd03470ec714ab4ee6ed /lib/gnutls_handshake.h | |
parent | c3b050f46e09be3a400f5002fa3a4ba655da813c (diff) | |
download | gnutls-0731bfe19602c907d3e4e7693f7fef8bcd8eb58c.tar.gz |
Use mbuffers for handshake synthesis.
Diffstat (limited to 'lib/gnutls_handshake.h')
-rw-r--r-- | lib/gnutls_handshake.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h index 6a28afb0d7..860afac234 100644 --- a/lib/gnutls_handshake.h +++ b/lib/gnutls_handshake.h @@ -26,8 +26,10 @@ typedef enum Optional { OPTIONAL_PACKET, MANDATORY_PACKET } Optional; -int _gnutls_send_handshake (gnutls_session_t session, void *i_data, - uint32_t i_datasize, +mbuffer_st* _gnutls_handshake_alloc(size_t size); +mbuffer_st* _gnutls_handshake_realloc(mbuffer_st *bufel, size_t size); + +int _gnutls_send_handshake (gnutls_session_t session, mbuffer_st *bufel, gnutls_handshake_description_t type); int _gnutls_recv_hello_request (gnutls_session_t session, void *data, uint32_t data_size); |