summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_session_set_ptr
blob: 0140c7fe4f7b8f4f5a324d83a2ee7eb302a635dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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