gnutls_transport_set_pull_timeout_function



gnutls_transport_set_pull_timeout_function

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_transport_set_pull_timeout_function − API function

SYNOPSIS

#include <gnutls/gnutls.h>

void gnutls_transport_set_pull_timeout_function(gnutls_session_t session, gnutls_pull_timeout_func func);

ARGUMENTS

gnutls_session_t session

is a gnutls_session_t structure.

gnutls_pull_timeout_func func

a callback function

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 select() is not suitable for the provided transport calls. The callback function is used in DTLS only.

gnutls_pull_timeout_func is of the form, ssize_t (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int ms);

SINCE

3.0.0

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

COPYRIGHT

Copyright © 2008 Free Software Foundation.
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.

SEE ALSO

The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command

info gnutls

should give you access to the complete manual.



More Linux Commands

manpages/localtime.5.html
localtime(5) Local timezone configuration file (Man Page)...
The /etc/localtime file configures the system-wide timezone of the local system that is used by applications for presentation to the user. It should be an absol

manpages/sincosl.3.html
sincosl(3) - calculate sin and cos simultaneously (ManPage)
Several applications need sine and cosine of the same angle x. This function computes both at the same time, and stores the results in *sin and *cos. If x is a

manpages/pnmtorle.1.html
pnmtorle(1) - convert a Netpbm image file into an RLE image
This program is part of Netpbm(1) This program converts Netpbm image files into Utah RLE image files. You can include an alpha mask. If the input is a multiple

manpages/groff.1.html
groff(1) - front-end for the groff document formatting syste
This document describes the groff program, the main front-end for the groff document formatting system. The groff program and macro suite is the implementation

manpages/glBindTexture.3gl.html
glBindTexture(3gl) - bind a named texture to a texturing tar
glBindTexture lets you create or use a named texture. Calling glBindTexture with target set to GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D and texture set to th

manpages/vidputs.3ncurses.html
vidputs(3ncurses) - curses interfaces to terminfo database
These low-level routines must be called by programs that have to deal directly with the terminfo database to handle certain terminal capabilities, such as progr

manpages/rsautl.1ssl.html
rsautl(1ssl) - RSA utility (Commands - Linux manual page)...
The rsautl command can be used to sign, verify, encrypt and decrypt data using the RSA algorithm. COMMAND OPTIONS -in filename This specifies the input filename

manpages/iso-8859-7.7.html
iso-8859-7.7 - iso-8859-7(7) - ISO 8859-7 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-7 encodes the characters used in modern

manpages/outopts.3ncurses.html
outopts(3ncurses) - curses output options - Linux man page
These routines set options that change the style of output within curses. All options are initially FALSE, unless otherwise stated. It is not necessary to turn

manpages/Tcl_NewBooleanObj.3.html
Tcl_NewBooleanObj(3) - store/retrieve boolean value in a Tcl
These procedures are used to pass boolean values to and from Tcl as Tcl_Objs. When storing a boolean value into a Tcl_Obj, any non-zero integer value in boolVal

manpages/cms.1ssl.html
cms(1ssl) CMS utility (Commands - Linux manual page)........
The cms command handles S/MIME v3.1 mail. It can encrypt, decrypt, sign and verify, compress and uncompress S/MIME messages. COMMAND OPTIONS There are fourteen

manpages/atoq.3.html
atoq(3) - convert a string to an integer - Linux man page...
The atoi() function converts the initial portion of the string pointed to by nptr to int. The behavior is the same as strtol(nptr, NULL, 10); except that atoi()





We can't live, work or learn in freedom unless the software we use is free.