blob: ccf91081b7bb978d208ed368dd9f40b283a55f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
@deftypefun {int} {gnutls_ext_get_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}: a pointer to the private data to retrieve
This function retrieves any data previously stored with @code{gnutls_ext_set_data()} .
@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, otherwise a negative error code.
@strong{Since:} 3.4.0
@end deftypefun
|