gnutls_transport_set_errno_function3
Api function
Usage
#include <gnutls/gnutls.h>
void gnutls_transport_set_errno_function(gnutls_session_t session, gnutls_errno_func errno_func);
Arguments
gnutls_session_t session
|
is a |
|---|---|
gnutls_errno_func errno_func
|
a callback function similar to |
Overview
This is the function where you set a function to retrieve errno after a failed push or pull operation.
errno_func is of the form, int (*gnutls_errno_func)(gnutls_transport_ptr_t); and should return the errno.
Since
2.12.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.