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

NAME

6       gnutls_session_get_data2 - API function
7

SYNOPSIS

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

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_datum_t * data
19                   is a pointer to a datum that will hold the session.
20

DESCRIPTION

22       Returns all session parameters needed to be stored to  support  resump‐
23       tion.   The  client  should  call  this, and store the returned session
24       data.  A  session  may  be  resumed  later   by   calling   gnutls_ses‐
25       sion_set_data().   This  function  must  be  called  after a successful
26       (full) handshake. It should not  be  used  in  resumed  sessions  --see
27       gnutls_session_is_resumed().
28
29       The   returned    data   are  allocated  and  must  be  released  using
30       gnutls_free().
31

RETURNS

33       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an  error  code
34       is returned.
35

REPORTING BUGS

37       Report bugs to <bugs@gnutls.org>.
38       Home page: http://www.gnutls.org
39
40
42       Copyright © 2001-2014 Free Software Foundation, Inc..
43       Copying  and  distribution  of this file, with or without modification,
44       are permitted in any medium  without  royalty  provided  the  copyright
45       notice and this notice are preserved.
46

SEE ALSO

48       The  full  documentation  for gnutls is maintained as a Texinfo manual.
49       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
50       visit
51
52       http://www.gnutls.org/manual/
53
54gnutls                              3.3.29         gnutls_session_get_data2(3)
Impressum