1gnutls_handshake_write(3) gnutls gnutls_handshake_write(3)
2
3
4
6 gnutls_handshake_write - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_handshake_write(gnutls_session_t session, gnutls_record_en‐
12 cryption_level_t level, const void * data, size_t data_size);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 gnutls_record_encryption_level_t level
19 the current encryption level for reading a handshake mes‐
20 sage
21
22 const void * data
23 the (const) handshake data to be processed
24
25 size_t data_size
26 the size of data
27
29 This function processes a handshake message in the encryption level
30 specified with level . Prior to calling this function, a handshake
31 read callback must be set on session . Use gnutls_hand‐
32 shake_set_read_function() to do this.
33
35 3.7.0
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: https://www.gnutls.org
40
41
43 Copyright © 2001- Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright no‐
46 tice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 https://www.gnutls.org/manual/
54
55gnutls 3.7.2 gnutls_handshake_write(3)