Sha256: de3ab106ebf44725572eca809cf5d7b217e078f00e7142afacd1c16e357b1e4f

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_error_to_alert" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_error_to_alert \- return an alert code based on the given error code
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "int gnutls_error_to_alert(int " err ", int * " level ");"
.SH ARGUMENTS
.IP "int err" 12
is a negative integer
.IP "int * level" 12
the alert level will be stored there
.SH "DESCRIPTION"
Get an alert depending on the error code returned by a gnutls
function.  All alerts sent by this function should be considered
fatal.  The only exception is when \fIerr\fP is \fBGNUTLS_E_REHANDSHAKE\fP,
where a warning alert should be sent to the peer indicating that no
renegotiation will be performed.

If there is no mapping to a valid alert the alert to indicate
internal error is returned.
.SH "RETURNS"
the alert code to use for a particular error code.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_error_to_alert.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_error_to_alert.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_error_to_alert.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_error_to_alert.3