~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_transport_set_pull_function.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-09-20 19:37:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20110920193706-a9phjijvddzg3nkl
Tags: 3.0.3-1
* New upstream version. (Includes a fix for #640639)
* Bump shlibs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_transport_set_pull_function" 3 "3.0.1" "gnutls" "gnutls"
 
2
.TH "gnutls_transport_set_pull_function" 3 "3.0.2" "gnutls" "gnutls"
3
3
.SH NAME
4
4
gnutls_transport_set_pull_function \- API function
5
5
.SH SYNOPSIS
14
14
.SH "DESCRIPTION"
15
15
This is the function where you set a function for gnutls to receive
16
16
data.  Normally, if you use berkeley style sockets, do not need to
17
 
use this function since the default (recv(2)) will probably be ok.
 
17
use this function since the default recv(2) will probably be ok.
18
18
The callback should return 0 on connection termination, a positive
19
19
number indicating the number of bytes received, and \-1 on error.
20
20
 
21
 
gnutls_pull_func is of the form,
 
21
\fIgnutls_pull_func\fP is of the form,
22
22
ssize_t (*gnutls_pull_func)(gnutls_transport_ptr_t, void*, size_t);
23
23
.SH "REPORTING BUGS"
24
24
Report bugs to <bug-gnutls@gnu.org>.