summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_handshake_write
blob: a1494f92bafbfc12bf63fb38f83e4207a3dcbca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@deftypefun {int} {gnutls_handshake_write} (gnutls_session_t @var{session}, gnutls_record_encryption_level_t @var{level}, const void * @var{data}, size_t @var{data_size})
@var{session}: is a @code{gnutls_session_t}  type.

@var{level}: the current encryption level for reading a handshake message

@var{data}: the (const) handshake data to be processed

@var{data_size}: the size of data

This function processes a handshake message in the encryption level
specified with  @code{level} . Prior to calling this function, a handshake
read callback must be set on  @code{session} . Use
@code{gnutls_handshake_set_read_function()}  to do this.

@strong{Since:} 3.7.0
@end deftypefun