~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

1 by Andreas Metzler
Import upstream version 2.2.3~rc
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
1.4.20 by Andreas Metzler
Import upstream version 2.12.7
2
.TH "gnutls_alert_get" 3 "2.12.6.1" "gnutls" "gnutls"
1 by Andreas Metzler
Import upstream version 2.2.3~rc
3
.SH NAME
1.4.3 by Andreas Metzler
Import upstream version 2.9.10
4
gnutls_alert_get \- API function
1 by Andreas Metzler
Import upstream version 2.2.3~rc
5
.SH SYNOPSIS
6
.B #include <gnutls/gnutls.h>
7
.sp
8
.BI "gnutls_alert_description_t gnutls_alert_get(gnutls_session_t " session ");"
9
.SH ARGUMENTS
10
.IP "gnutls_session_t session" 12
11
is a \fBgnutls_session_t\fP structure.
12
.SH "DESCRIPTION"
1.1.2 by Andreas Metzler
Import upstream version 2.4.0
13
This function will return the last alert number received.  This
14
function should be called if \fBGNUTLS_E_WARNING_ALERT_RECEIVED\fP or
15
\fBGNUTLS_E_FATAL_ALERT_RECEIVED\fP has been returned by a gnutls
1 by Andreas Metzler
Import upstream version 2.2.3~rc
16
function.  The peer may send alerts if he thinks some things were
17
not right. Check gnutls.h for the available alert descriptions.
18
19
If no alert has been received the returned value is undefined.
1.1.2 by Andreas Metzler
Import upstream version 2.4.0
20
.SH "RETURNS"
21
returns the last alert received, a
22
\fBgnutls_alert_description_t\fP value.
1 by Andreas Metzler
Import upstream version 2.2.3~rc
23
.SH "REPORTING BUGS"
24
Report bugs to <bug-gnutls@gnu.org>.
1.4.1 by Andreas Metzler
Import upstream version 2.8.1
25
GnuTLS home page: http://www.gnu.org/software/gnutls/
26
General help using GNU software: http://www.gnu.org/gethelp/
1 by Andreas Metzler
Import upstream version 2.2.3~rc
27
.SH COPYRIGHT
1.1.2 by Andreas Metzler
Import upstream version 2.4.0
28
Copyright \(co 2008 Free Software Foundation.
1 by Andreas Metzler
Import upstream version 2.2.3~rc
29
.br
1.4.1 by Andreas Metzler
Import upstream version 2.8.1
30
Copying and distribution of this file, with or without modification,
31
are permitted in any medium without royalty provided the copyright
32
notice and this notice are preserved.
1 by Andreas Metzler
Import upstream version 2.2.3~rc
33
.SH "SEE ALSO"
34
The full documentation for
35
.B gnutls
36
is maintained as a Texinfo manual.  If the
37
.B info
38
and
39
.B gnutls
40
programs are properly installed at your site, the command
41
.IP
42
.B info gnutls
43
.PP
44
should give you access to the complete manual.