1gnutls_session_get_data(3) gnutls gnutls_session_get_data(3)
2
3
4
6 gnutls_session_get_data - Returns all session parameters.
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_session_get_data(gnutls_session_t session, void * ses‐
12 sion_data, size_t * session_data_size);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 void * session_data
19 is a pointer to space to hold the session.
20
21 size_t * session_data_size
22 is the session_data's size, or it will be set by the func‐
23 tion.
24
26 Returns all session parameters, in order to support resuming. The
27 client should call this, and keep the returned session, if he wants to
28 resume that current version later by calling gnutls_session_set_data()
29 This function must be called after a successful handshake.
30
31 Resuming sessions is really useful and speedups connections after a
32 succesful one.
33
35 Report bugs to <bug-gnutls@gnu.org>.
36
38 Copyright © 2006 Free Software Foundation.
39 Permission is granted to make and distribute verbatim copies of this
40 manual provided the copyright notice and this permission notice are
41 preserved on all copies.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the info and gnutls programs are properly installed at your site,
46 the command
47
48 info gnutls
49
50 should give you access to the complete manual.
51
52
53
54gnutls 1.6.3 gnutls_session_get_data(3)