Blame doc/functions/gnutls_alert_get
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {gnutls_alert_description_t} {gnutls_alert_get} (gnutls_session_t @var{session})
|
|
Packit Service |
4684c1 |
@var{session}: is a @code{gnutls_session_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return the last alert number received. This
|
|
Packit Service |
4684c1 |
function should be called when @code{GNUTLS_E_WARNING_ALERT_RECEIVED} or
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_FATAL_ALERT_RECEIVED} errors are returned by a gnutls
|
|
Packit Service |
4684c1 |
function. The peer may send alerts if he encounters an error.
|
|
Packit Service |
4684c1 |
If no alert has been received the returned value is undefined.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} the last alert received, a
|
|
Packit Service |
4684c1 |
@code{gnutls_alert_description_t} value.
|
|
Packit Service |
4684c1 |
@end deftypefun
|