diff options
Diffstat (limited to 'doc/functions/gnutls_ext_set_data')
-rw-r--r-- | doc/functions/gnutls_ext_set_data | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/functions/gnutls_ext_set_data b/doc/functions/gnutls_ext_set_data new file mode 100644 index 0000000..b54fcc4 --- /dev/null +++ b/doc/functions/gnutls_ext_set_data @@ -0,0 +1,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 |