File: gnutls_handshake_write

package info (click to toggle)
gnutls28 3.8.9-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 83,872 kB
  • sloc: ansic: 388,071; asm: 117,804; sh: 18,477; makefile: 6,732; yacc: 1,858; python: 1,399; cpp: 1,243; perl: 995; sed: 16
file content (20 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (5)
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