aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2018-03-12 18:21:20 +0300
committerEric Blake <eblake@redhat.com>2018-03-13 15:38:55 -0500
commit12296459f4319e5d0a0f720ffc3d52113cde026e (patch)
treeb83e985cd7c984a6ebedbf0b8a2c4d979529d664 /accel
parent2e425fd56849d36485131b3363ab596d39e0e13b (diff)
nbd/server: add nbd_read_opt_name helper
Add helper to read name in format: uint32 len (<= NBD_MAX_NAME_SIZE) len bytes string (not 0-terminated) The helper will be reused in following patch. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20180312152126.286890-3-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> [eblake: grammar fixes, actually check error] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'accel')
0 files changed, 0 insertions, 0 deletions