summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_ext_set_data
blob: b54fcc4549e0920997bd78ae0149753cfe734ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@deftypefun {void} {gnutls_ext_set_data} (gnutls_session_t @var{session}, unsigned @var{tls_id}, gnutls_ext_priv_data_t @var{data})
@var{session}: a @code{gnutls_session_t}  opaque pointer

@var{tls_id}: the numeric id of the extension

@var{data}: the private data to set

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

@strong{Since:} 3.4.0
@end deftypefun