1gnutls_transport_set_push_function(3)gnutlsgnutls_transport_set_push_function(3)
2
3
4

NAME

6       gnutls_transport_set_push_function - This function sets the function to
7       send data
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       void    gnutls_transport_set_push_function(gnutls_session_t    session,
13       gnutls_push_func push_func);
14

ARGUMENTS

16       gnutls_session_t session
17                   gnutls session
18
19       gnutls_push_func push_func
20                   a callback function similar to write()
21

DESCRIPTION

23       This is the function where you set a push function for gnutls to use in
24       order to send data. If you are going to use berkeley style sockets, you
25       do not need to use this function since the default (send(2)) will prob‐
26       ably be ok. Otherwise you should specify this function for gnutls to be
27       able to send data.
28
29       PUSH_FUNC  is  of  the  form, ssize_t (*gnutls_push_func)(gnutls_trans‐
30       port_ptr_t, const void*, size_t);
31

REPORTING BUGS

33       Report bugs to <bug-gnutls@gnu.org>.
34
36       Copyright © 2006 Free Software Foundation.
37       Permission is granted to make and distribute verbatim  copies  of  this
38       manual  provided  the  copyright  notice and this permission notice are
39       preserved on all copies.
40

SEE ALSO

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