| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@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}) |
| 6 |
@var{session}: is a @code{gnutls_session_t} type. |
| 7 |
|
| 8 |
@var{recv_ptr}: is the value for the pull function |
| 9 |
|
| 10 |
@var{send_ptr}: is the value for the push function |
| 11 |
|
| 12 |
Used to set the first argument of the transport function (for push |
| 13 |
and pull callbacks). In berkeley style sockets this function will set the |
| 14 |
connection descriptor. With this function you can use two different |
| 15 |
pointers for receiving and sending. |
| 16 |
@end deftypefun |