summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_session_set_ptr
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_session_set_ptr')
-rw-r--r--doc/functions/gnutls_session_set_ptr13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/functions/gnutls_session_set_ptr b/doc/functions/gnutls_session_set_ptr
new file mode 100644
index 0000000..0140c7f
--- /dev/null
+++ b/doc/functions/gnutls_session_set_ptr
@@ -0,0 +1,13 @@
+
+
+
+
+@deftypefun {void} {gnutls_session_set_ptr} (gnutls_session_t @var{session}, void * @var{ptr})
+@var{session}: is a @code{gnutls_session_t} type.
+
+@var{ptr}: is the user pointer
+
+This function will set (associate) the user given pointer @code{ptr} to
+the session structure. This pointer can be accessed with
+@code{gnutls_session_get_ptr()} .
+@end deftypefun