summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_session_get_ptr
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_session_get_ptr')
-rw-r--r--doc/functions/gnutls_session_get_ptr13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/functions/gnutls_session_get_ptr b/doc/functions/gnutls_session_get_ptr
new file mode 100644
index 0000000..dc812ec
--- /dev/null
+++ b/doc/functions/gnutls_session_get_ptr
@@ -0,0 +1,13 @@
+
+
+
+
+@deftypefun {void *} {gnutls_session_get_ptr} (gnutls_session_t @var{session})
+@var{session}: is a @code{gnutls_session_t} type.
+
+Get user pointer for session. Useful in callbacks. This is the
+pointer set with @code{gnutls_session_set_ptr()} .
+
+@strong{Returns:} the user given pointer from the session structure, or
+@code{NULL} if it was never set.
+@end deftypefun