nbd.h (adf2e451f357e993f173ba9b4176dbf3e65fee7e) nbd.h (b25e12daff2c3e5ba933f85e8ba278f5bcba8f4d)
1/*
2 * Copyright (C) 2016-2019 Red Hat, Inc.
3 * Copyright (C) 2005 Anthony Liguori <anthony@codemonkey.ws>
4 *
5 * Network Block Device
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 312 unchanged lines hidden (view full) ---

321
322BlockBackend *nbd_export_get_blockdev(NBDExport *exp);
323
324NBDExport *nbd_export_find(const char *name);
325void nbd_export_close_all(void);
326
327void nbd_client_new(QIOChannelSocket *sioc,
328 QCryptoTLSCreds *tlscreds,
1/*
2 * Copyright (C) 2016-2019 Red Hat, Inc.
3 * Copyright (C) 2005 Anthony Liguori <anthony@codemonkey.ws>
4 *
5 * Network Block Device
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 312 unchanged lines hidden (view full) ---

321
322BlockBackend *nbd_export_get_blockdev(NBDExport *exp);
323
324NBDExport *nbd_export_find(const char *name);
325void nbd_export_close_all(void);
326
327void nbd_client_new(QIOChannelSocket *sioc,
328 QCryptoTLSCreds *tlscreds,
329 const char *tlsaclname,
329 const char *tlsauthz,
330 void (*close_fn)(NBDClient *, bool));
331void nbd_client_get(NBDClient *client);
332void nbd_client_put(NBDClient *client);
333
334void nbd_server_start(SocketAddress *addr, const char *tls_creds,
335 Error **errp);
336
337/* nbd_read

--- 53 unchanged lines hidden ---
330 void (*close_fn)(NBDClient *, bool));
331void nbd_client_get(NBDClient *client);
332void nbd_client_put(NBDClient *client);
333
334void nbd_server_start(SocketAddress *addr, const char *tls_creds,
335 Error **errp);
336
337/* nbd_read

--- 53 unchanged lines hidden ---