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

NAME

6       gnutls_transport_set_push_function - API function
7

SYNOPSIS

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

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       gnutls_push_func push_func
19                   a callback function similar to write()
20

DESCRIPTION

22       This is the function where you set a push function for gnutls to use in
23       order  to  send  data.  If you are going to use berkeley style sockets,
24       you do not need to use this function since the default  (send(2))  will
25       probably  be ok.  Otherwise you should specify this function for gnutls
26       to be able to send data.
27
28       PUSH_FUNC is of  the  form,  ssize_t  (*gnutls_push_func)(gnutls_trans‐
29       port_ptr_t, const void*, size_t);
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.12.6.g1nutls_transport_set_push_function(3)
Impressum