mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
api: add virNetworkCreateFlags
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
00182251d0
commit
d0c80da88a
@ -113,6 +113,10 @@ virNetworkPtr virNetworkLookupByUUID (virConnectPtr conn,
|
||||
virNetworkPtr virNetworkLookupByUUIDString (virConnectPtr conn,
|
||||
const char *uuid);
|
||||
|
||||
typedef enum {
|
||||
VIR_NETWORK_CREATE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
} virNetworkCreateFlags;
|
||||
|
||||
/*
|
||||
* Create active transient network
|
||||
*/
|
||||
|
@ -431,7 +431,7 @@ virNetworkCreateXML(virConnectPtr conn, const char *xmlDesc)
|
||||
* virNetworkCreateXMLFlags:
|
||||
* @conn: pointer to the hypervisor connection
|
||||
* @xmlDesc: an XML description of the network
|
||||
* @flags: extra flags; not used yet, so callers should always pass 0
|
||||
* @flags: bitwise-OR of virNetworkCreateFlags
|
||||
*
|
||||
* Create and start a new virtual network, based on an XML description
|
||||
* similar to the one returned by virNetworkGetXMLDesc()
|
||||
|
Loading…
Reference in New Issue
Block a user