summaryrefslogtreecommitdiff
path: root/block/nbd-client.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-10-14 13:33:06 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-02 09:28:55 +0100
commit10676b81a9a69e9660fc203e3fe7d61a80ef1089 (patch)
treea45d599ee24758461d4bab9a4afc37e393749fb6 /block/nbd-client.h
parent315f78abfce1f12bca259e8d8a41a42efbf970d1 (diff)
downloadqemu-10676b81a9a69e9660fc203e3fe7d61a80ef1089.tar.gz
nbd: Rename NbdClientSession to NBDClientSession
It's better to use consistent capitalization of the namespace used for NBD functions; we have more instances of NBD* than Nbd*. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1476469998-28592-5-git-send-email-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/nbd-client.h')
-rw-r--r--block/nbd-client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/nbd-client.h b/block/nbd-client.h
index 307b8b1e99..d86dd22e35 100644
--- a/block/nbd-client.h
+++ b/block/nbd-client.h
@@ -17,7 +17,7 @@
#define MAX_NBD_REQUESTS 16
-typedef struct NbdClientSession {
+typedef struct NBDClientSession {
QIOChannelSocket *sioc; /* The master data channel */
QIOChannel *ioc; /* The current I/O channel which may differ (eg TLS) */
uint16_t nbdflags;
@@ -32,9 +32,9 @@ typedef struct NbdClientSession {
struct nbd_reply reply;
bool is_unix;
-} NbdClientSession;
+} NBDClientSession;
-NbdClientSession *nbd_get_client_session(BlockDriverState *bs);
+NBDClientSession *nbd_get_client_session(BlockDriverState *bs);
int nbd_client_init(BlockDriverState *bs,
QIOChannelSocket *sock,