diff options
Diffstat (limited to 'doc/functions/gnutls_transport_set_ptr2')
-rw-r--r-- | doc/functions/gnutls_transport_set_ptr2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/gnutls_transport_set_ptr2 b/doc/functions/gnutls_transport_set_ptr2 new file mode 100644 index 0000000..87b30f1 --- /dev/null +++ b/doc/functions/gnutls_transport_set_ptr2 @@ -0,0 +1,16 @@ + + + + +@deftypefun {void} {gnutls_transport_set_ptr2} (gnutls_session_t @var{session}, gnutls_transport_ptr_t @var{recv_ptr}, gnutls_transport_ptr_t @var{send_ptr}) +@var{session}: is a @code{gnutls_session_t} type. + +@var{recv_ptr}: is the value for the pull function + +@var{send_ptr}: is the value for the push function + +Used to set the first argument of the transport function (for push +and pull callbacks). In berkeley style sockets this function will set the +connection descriptor. With this function you can use two different +pointers for receiving and sending. +@end deftypefun |