qemu/nbd
Eric Blake bae245d19a nbd: Expose constants and structs for structured read
Upcoming patches will implement the NBD structured reply
extension [1] for both client and server roles.  Declare the
constants, structs, and lookup routines that will be valuable
whether the server or client code is backported in isolation.

This includes moving one constant from an internal header to
the public header, as part of the structured read processing
will be done in block/nbd-client.c rather than nbd/client.c.

[1]https://github.com/NetworkBlockDevice/nbd/blob/extension-structured-reply/doc/proto.md

Based on patches from Vladimir Sementsov-Ogievskiy.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20171027104037.8319-4-eblake@redhat.com>
2017-10-30 21:07:21 +01:00
..
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
client.c nbd: Move nbd_errno_to_system_errno() to public header 2017-10-30 21:07:21 +01:00
common.c nbd: Expose constants and structs for structured read 2017-10-30 21:07:21 +01:00
nbd-internal.h nbd: Expose constants and structs for structured read 2017-10-30 21:07:21 +01:00
server.c nbd: Expose constants and structs for structured read 2017-10-30 21:07:21 +01:00
trace-events nbd: Move nbd_errno_to_system_errno() to public header 2017-10-30 21:07:21 +01:00