[PATCH 1/6] api: add public virNetworkCreateXMLFlags() and remote protocol

Ján Tomko jtomko at redhat.com
Thu Sep 2 15:09:30 UTC 2021


On a Thursday in 2021, Kristina Hanicova wrote:
>This new API creates network with given flags.
>
>Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
>---
> include/libvirt/libvirt-network.h |  3 +++
> src/driver-network.h              |  6 +++++
> src/libvirt-network.c             | 41 +++++++++++++++++++++++++++++++
> src/libvirt_public.syms           |  5 ++++
> src/remote/remote_driver.c        |  1 +
> src/remote/remote_protocol.x      | 18 +++++++++++++-
> src/remote_protocol-structs       |  8 ++++++
> 7 files changed, 81 insertions(+), 1 deletion(-)
>
>diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
>index dad83361fa..100cdbc6b7 100644
>--- a/src/remote_protocol-structs
>+++ b/src/remote_protocol-structs
>@@ -1098,6 +1098,13 @@ struct remote_network_create_xml_args {
> struct remote_network_create_xml_ret {
>         remote_nonnull_network     net;
> };
>+struct remote_network_create_xml_flags_args {
>+        remote_nonnull_string      xml;
>+        u_int                    flags;

The indentation is off here.
Rest of the file (mostly) aligns the identifiers to the left.

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210902/eac076ea/attachment-0001.sig>


More information about the libvir-list mailing list