1gnutls_transport_set_ptr2(3)        gnutls        gnutls_transport_set_ptr2(3)
2
3
4

NAME

6       gnutls_transport_set_ptr2 - Used to set first argument of the transport
7       functions
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       void gnutls_transport_set_ptr2(gnutls_session_t session,  gnutls_trans‐
13       port_ptr_t recv_ptr, gnutls_transport_ptr_t send_ptr);
14

ARGUMENTS

16       gnutls_session_t session
17                   is a gnutls_session_t structure.
18
19       gnutls_transport_ptr_t recv_ptr
20                   is the value for the pull function
21
22       gnutls_transport_ptr_t send_ptr
23                   is the value for the push function
24

DESCRIPTION

26       Used to set the first argument of the transport function (like PUSH and
27       PULL). In berkeley style sockets this function will set the  connection
28       handle.   With  this  function  you  can use two different pointers for
29       receiving and sending.
30

REPORTING BUGS

32       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
33       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
34       http://www.gnu.org/gethelp/
35
37       Copyright © 2008 Free Software Foundation.
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted  in  any  medium  without royalty provided the copyright
40       notice and this notice are preserved.
41

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the  info  and gnutls programs are properly installed at your site,
45       the command
46
47              info gnutls
48
49       should give you access to the complete manual.
50
51
52
53gnutls                               2.8.6        gnutls_transport_set_ptr2(3)
Impressum