Sha256: 6bb18bb8dde9779ec55218c6b35ab05d659f24924d726d6890d349bc266875e1

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_transport_set_pull_timeout_function" 3 "3.2.17" "gnutls" "gnutls"
.SH NAME
gnutls_transport_set_pull_timeout_function \- API function
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "void gnutls_transport_set_pull_timeout_function(gnutls_session_t " session ", gnutls_pull_timeout_func " func ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "gnutls_pull_timeout_func func" 12
a callback function
.SH "DESCRIPTION"
This is the function where you set a function for gnutls to know
whether data are ready to be received. It should wait for data a
given time frame in milliseconds. The callback should return 0 on 
timeout, a positive number if data can be received, and \-1 on error.
You'll need to override this function if \fBselect()\fP is not suitable
for the provided transport calls.

As with \fBselect()\fP, if the timeout value is zero the callback should return
zero if no data are immediately available.

 \fIgnutls_pull_timeout_func\fP is of the form,
int (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int ms);
.SH "SINCE"
3.0
.SH "REPORTING BUGS"
Report bugs to <bugs@gnutls.org>.
.br
Home page: http://www.gnutls.org

.SH COPYRIGHT
Copyright \(co 2001-2014 Free Software Foundation, Inc.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.
If the /usr/share/doc/gnutls/
directory does not contain the HTML form visit
.B
.IP http://www.gnutls.org/manual/
.PP

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
glib2-2.2.3-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3
glib2-2.2.2-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3
glib2-2.2.1-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3