mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 22:13:18 +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,
|
virNetworkPtr virNetworkCreateXML (virConnectPtr conn,
|
||||||
const char *xmlDesc);
|
const char *xmlDesc);
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
VIR_NETWORK_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||||
|
} virNetworkDefineFlags;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define inactive persistent network
|
* Define inactive persistent network
|
||||||
*/
|
*/
|
||||||
|
@ -469,7 +469,7 @@ virNetworkDefineXML(virConnectPtr conn, const char *xml)
|
|||||||
* virNetworkDefineXMLFlags:
|
* virNetworkDefineXMLFlags:
|
||||||
* @conn: pointer to the hypervisor connection
|
* @conn: pointer to the hypervisor connection
|
||||||
* @xml: the XML description for the network, preferably in UTF-8
|
* @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
|
* Define an inactive persistent virtual network or modify an existing
|
||||||
* persistent one from the XML description.
|
* persistent one from the XML description.
|
||||||
|
Loading…
Reference in New Issue
Block a user