1nbd_get_request_structured_replies(3)LIBNBDnbd_get_request_structured_replies(3)
2
3
4
6 nbd_get_request_structured_replies - see if structured replies are
7 attempted
8
10 #include <libnbd.h>
11
12 int nbd_get_request_structured_replies (struct nbd_handle *h);
13
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
22 This call returns a boolean value.
23
25 This function does not fail.
26
28 This function first appeared in libnbd 1.2.
29
30 If you need to test if this function is available at compile time check
31 if the following macro is defined:
32
33 #define LIBNBD_HAVE_NBD_GET_REQUEST_STRUCTURED_REPLIES 1
34
36 nbd_create(3), nbd_get_structured_replies_negotiated(3),
37 nbd_set_request_structured_replies(3), libnbd(3).
38
40 Eric Blake
41
42 Richard W.M. Jones
43
45 Copyright (C) 2019-2021 Red Hat Inc.
46
48 This library is free software; you can redistribute it and/or modify it
49 under the terms of the GNU Lesser General Public License as published
50 by the Free Software Foundation; either version 2 of the License, or
51 (at your option) any later version.
52
53 This library is distributed in the hope that it will be useful, but
54 WITHOUT ANY WARRANTY; without even the implied warranty of
55 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
56 Lesser General Public License for more details.
57
58 You should have received a copy of the GNU Lesser General Public
59 License along with this library; if not, write to the Free Software
60 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
61 02110-1301 USA
62
63
64
65libnbd-1.10.1 2021-10-n2b5d_get_request_structured_replies(3)