qemu-e2k/include/io
Eric Blake e8ffaa3110 io: Add new qio_channel_read{, v}_all_eof functions
Some callers want to distinguish between clean EOF (no bytes read)
vs. a short read (at least one byte read, but EOF encountered
before reaching the desired length), as it allows clients the
ability to do a graceful shutdown when a server shuts down at
defined safe points in the protocol, rather than treating all
shutdown scenarios as an error due to EOF.  However, we don't want
to require all callers to have to check for early EOF.  So add
another wrapper function that can be used by the callers that care
about the distinction.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170905191114.5959-3-eblake@redhat.com>
Acked-by: Daniel P. Berrange <berrange@redhat.com>
2017-09-06 10:11:54 -05:00
..
channel-buffer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-command.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-file.h channel-file: fix wrong parameter comments 2017-05-10 10:18:57 +03:00
channel-socket.h sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
channel-tls.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-util.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-watch.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel-websock.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
channel.h io: Add new qio_channel_read{, v}_all_eof functions 2017-09-06 10:11:54 -05:00
dns-resolver.h sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
task.h sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00