1gnutls_transport_set_pull_function(3)gnutlsgnutls_transport_set_pull_function(3)
2
3
4

NAME

6       gnutls_transport_set_pull_function  -  This  function  sets a read like
7       function
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       void    gnutls_transport_set_pull_function(gnutls_session_t    session,
13       gnutls_pull_func pull_func);
14

ARGUMENTS

16       gnutls_session_t session
17                   gnutls session
18
19       gnutls_pull_func pull_func
20                   a callback function similar to read()
21

DESCRIPTION

23       This  is  the  function  where you set a function for gnutls to receive
24       data. Normally, if you use berkeley style sockets, do not need  to  use
25       this function since the default (recv(2)) will probably be ok.
26
27       PULL_FUNC  is  of  the  form, ssize_t (*gnutls_pull_func)(gnutls_trans‐
28       port_ptr_t, void*, size_t);
29

REPORTING BUGS

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

SEE ALSO

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