1gnutls_transport_set_ptr2(3) gnutls gnutls_transport_set_ptr2(3)
2
3
4
6 gnutls_transport_set_ptr2 - Used to set first argument of the transport
7 functions
8
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
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
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
32 Report bugs to <bug-gnutls@gnu.org>.
33
35 Copyright © 2006 Free Software Foundation.
36 Permission is granted to make and distribute verbatim copies of this
37 manual provided the copyright notice and this permission notice are
38 preserved on all copies.
39
41 The full documentation for gnutls is maintained as a Texinfo manual.
42 If the info and gnutls programs are properly installed at your site,
43 the command
44
45 info gnutls
46
47 should give you access to the complete manual.
48
49
50
51gnutls 1.6.3 gnutls_transport_set_ptr2(3)