1gnutls_alert_get(3)                 gnutls                 gnutls_alert_get(3)
2
3
4

NAME

6       gnutls_alert_get - Returns the last alert number received.
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       gnutls_alert_description_t gnutls_alert_get(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t structure.
16

DESCRIPTION

18       This function will return the last alert number received. This function
19       should    be    called    if     GNUTLS_E_WARNING_ALERT_RECEIVED     or
20       GNUTLS_E_FATAL_ALERT_RECEIVED  has  been returned by a gnutls function.
21       The peer may send alerts if he thinks some things were not right. Check
22       gnutls.h for the available alert descriptions.
23
24       If no alert has been received the returned value is undefined.
25

REPORTING BUGS

27       Report bugs to <bug-gnutls@gnu.org>.
28
30       Copyright © 2006 Free Software Foundation.
31       Permission  is  granted  to make and distribute verbatim copies of this
32       manual provided the copyright notice and  this  permission  notice  are
33       preserved on all copies.
34

SEE ALSO

36       The  full  documentation  for gnutls is maintained as a Texinfo manual.
37       If the info and gnutls programs are properly installed  at  your  site,
38       the command
39
40              info gnutls
41
42       should give you access to the complete manual.
43
44
45
46gnutls                               1.6.3                 gnutls_alert_get(3)
Impressum