1gnutls_ext_set_data(3)              gnutls              gnutls_ext_set_data(3)
2
3
4

NAME

6       gnutls_ext_set_data - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void  gnutls_ext_set_data(gnutls_session_t  session,  unsigned  tls_id,
12       gnutls_ext_priv_data_t data);
13

ARGUMENTS

15       gnutls_session_t session
16                   a gnutls_session_t opaque pointer
17
18       unsigned tls_id
19                   the numeric id of the extension
20
21       gnutls_ext_priv_data_t data
22                   the private data to set
23

DESCRIPTION

25       This function allows an extension handler to store data in the  current
26       session  and  retrieve  them later on. The set data will be deallocated
27       using the gnutls_ext_deinit_data_func.
28

SINCE

30       3.4.0
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: https://www.gnutls.org
35
36
38       Copyright © 2001- Free Software Foundation, Inc., and others.
39       Copying and distribution of this file, with  or  without  modification,
40       are  permitted in any medium without royalty provided the copyright no‐
41       tice and this notice are preserved.
42

SEE ALSO

44       The full documentation for gnutls is maintained as  a  Texinfo  manual.
45       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
46       visit
47
48       https://www.gnutls.org/manual/
49
50gnutls                               3.7.2              gnutls_ext_set_data(3)
Impressum