summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_transport_get_ptr
blob: ba277b81e6fb8a6ebdc8ad8ef218873732dcf56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {gnutls_transport_ptr_t} {gnutls_transport_get_ptr} (gnutls_session_t @var{session})
@var{session}: is a @code{gnutls_session_t}  type.

Used to get the first argument of the transport function (like
PUSH and PULL).  This must have been set using
@code{gnutls_transport_set_ptr()} .

@strong{Returns:} The first argument of the transport function.
@end deftypefun