nbd: publish _lookup functions
commit757a0d05ea22d63e667db08a80b6ec6f1d53a12f
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 2 Nov 2018 15:11:51 +0000 (2 18:11 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 4 Jan 2019 23:34:58 +0000 (4 17:34 -0600)
treeb4b06ba419126d532def8d5eabb7e8a70d13ec2c
parent9b2e891ec5ccdb4a7d583b77988848282606fdea
nbd: publish _lookup functions

These functions are used for formatting pretty trace points. We are
going to add some in block/nbd-client, so, let's publish all these
functions at once. Note, that nbd_reply_type_lookup is already
published, and constants, "named" by these functions live in
include/block/nbd.h too.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181102151152.288399-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
include/block/nbd.h
nbd/nbd-internal.h