nbd_get_request_extended_headers3
See if extended headers are attempted
Usage
#include <libnbd.h>int nbd_get_request_extended_headers (struct nbd_handle *h);
Overview
Return the state of the request extended headers flag on this handle.
Note: If you want to find out if extended headers were actually negotiated on a particular connection use nbd_get_extended_headers_negotiated(3) instead.
Return value
This call returns a boolean value.
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.18.
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_REQUEST_EXTENDED_HEADERS 1
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.