1nbd_get_request_structured_replies(3)LIBNBDnbd_get_request_structured_replies(3)
2
3
4

NAME

6       nbd_get_request_structured_replies - see if structured replies are
7       attempted
8

SYNOPSIS

10        #include <libnbd.h>
11
12        int nbd_get_request_structured_replies (struct nbd_handle *h);
13

DESCRIPTION

15       Return the state of the request structured replies flag on this handle.
16
17       Note: If you want to find out if structured replies were actually
18       negotiated on a particular connection use
19       nbd_get_structured_replies_negotiated(3) instead.
20

RETURN VALUE

22       This call returns a boolean value.
23

ERRORS

25       This function does not fail.
26
27       The following parameters must not be NULL: "h".  For more information
28       see "Non-NULL parameters" in libnbd(3).
29

VERSION

31       This function first appeared in libnbd 1.2.
32
33       If you need to test if this function is available at compile time check
34       if the following macro is defined:
35
36        #define LIBNBD_HAVE_NBD_GET_REQUEST_STRUCTURED_REPLIES 1
37

SEE ALSO

39       nbd_create(3), nbd_get_structured_replies_negotiated(3),
40       nbd_set_request_structured_replies(3), libnbd(3).
41

AUTHORS

43       Eric Blake
44
45       Richard W.M. Jones
46
48       Copyright (C) 2019-2021 Red Hat Inc.
49

LICENSE

51       This library is free software; you can redistribute it and/or modify it
52       under the terms of the GNU Lesser General Public License as published
53       by the Free Software Foundation; either version 2 of the License, or
54       (at your option) any later version.
55
56       This library is distributed in the hope that it will be useful, but
57       WITHOUT ANY WARRANTY; without even the implied warranty of
58       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
59       Lesser General Public License for more details.
60
61       You should have received a copy of the GNU Lesser General Public
62       License along with this library; if not, write to the Free Software
63       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
64       02110-1301 USA
65
66
67
68libnbd-1.14.2                     2023-01-n0b3d_get_request_structured_replies(3)
Impressum