nbd_get_tls3
Get the tls request setting
Usage
#include <libnbd.h>int nbd_get_tls (struct nbd_handle *h);
Overview
Get the TLS request setting.
Note: If you want to find out if TLS was actually negotiated on a particular connection use nbd_get_tls_negotiated(3) instead.
Return value
This call returns one of the LIBNBD_TLS_* values.
Errors
This function does not fail.
The following parameters must not be NULL: "h". For more information see "Non-NULL parameters" in libnbd(3).
Version
This function first appeared in libnbd 1.0.
If you need to test if this function is available at compile time check if the following macro is defined:
#define LIBNBD_HAVE_NBD_GET_TLS 1
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.