1gnutls_session_get_data2(3)         gnutls         gnutls_session_get_data2(3)
2
3
4

NAME

6       gnutls_session_get_data2 - Returns all session parameters.
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_session_get_data2(gnutls_session_t  session, gnutls_datum *
12       data);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_datum * data
19

DESCRIPTION

21       Returns all session parameters, in  order  to  support  resuming.   The
22       client  should call this, and keep the returned session, if he wants to
23       resume that current version later by calling  gnutls_session_set_data()
24       This function must be called after a successful handshake. The returned
25       datum must be freed with gnutls_free().
26
27       Resuming sessions is really useful and  speedups  connections  after  a
28       succesful one.
29

REPORTING BUGS

31       Report bugs to <bug-gnutls@gnu.org>.
32
34       Copyright © 2006 Free Software Foundation.
35       Permission  is  granted  to make and distribute verbatim copies of this
36       manual provided the copyright notice and  this  permission  notice  are
37       preserved on all copies.
38

SEE ALSO

40       The  full  documentation  for gnutls is maintained as a Texinfo manual.
41       If the info and gnutls programs are properly installed  at  your  site,
42       the command
43
44              info gnutls
45
46       should give you access to the complete manual.
47
48
49
50gnutls                               1.6.3         gnutls_session_get_data2(3)
Impressum