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

NAME

6       gnutls_alert_get - API function
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 type.
16

DESCRIPTION

18       This  function  will return the last alert number received.  This func‐
19       tion  should  be   called   when   GNUTLS_E_WARNING_ALERT_RECEIVED   or
20       GNUTLS_E_FATAL_ALERT_RECEIVED errors are returned by a gnutls function.
21       The peer may send alerts if he encounters an error.  If  no  alert  has
22       been received the returned value is undefined.
23

RETURNS

25       the last alert received, a gnutls_alert_description_t value.
26

REPORTING BUGS

28       Report bugs to <bugs@gnutls.org>.
29       Home page: https://www.gnutls.org
30
31
33       Copyright © 2001- Free Software Foundation, Inc., and others.
34       Copying  and  distribution  of this file, with or without modification,
35       are permitted in any medium without royalty provided the copyright  no‐
36       tice and this notice are preserved.
37

SEE ALSO

39       The  full  documentation  for gnutls is maintained as a Texinfo manual.
40       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
41       visit
42
43       https://www.gnutls.org/manual/
44
45gnutls                               3.7.2                 gnutls_alert_get(3)
Impressum