mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 16:35:24 +00:00
api: add virNetworkDefineFlags
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a4d8bd34a5
commit
0faf5c6aa4
@ -119,6 +119,10 @@ virNetworkPtr virNetworkLookupByUUIDString (virConnectPtr conn,
|
||||
virNetworkPtr virNetworkCreateXML (virConnectPtr conn,
|
||||
const char *xmlDesc);
|
||||
|
||||
typedef enum {
|
||||
VIR_NETWORK_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
} virNetworkDefineFlags;
|
||||
|
||||
/*
|
||||
* Define inactive persistent network
|
||||
*/
|
||||
|
@ -469,7 +469,7 @@ virNetworkDefineXML(virConnectPtr conn, const char *xml)
|
||||
* virNetworkDefineXMLFlags:
|
||||
* @conn: pointer to the hypervisor connection
|
||||
* @xml: the XML description for the network, preferably in UTF-8
|
||||
* @flags: extra flags; not used yet, so callers should always pass 0
|
||||
* @flags: bitwise-OR of virNetworkDefineFlags
|
||||
*
|
||||
* Define an inactive persistent virtual network or modify an existing
|
||||
* persistent one from the XML description.
|
||||
|
Loading…
x
Reference in New Issue
Block a user