mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
api: add public virNetworkCreateXMLFlags() and remote protocol
This new API creates network with given flags. Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
ddba9f1dc9
commit
6a0a2840cf
@@ -118,6 +118,9 @@ virNetworkPtr virNetworkLookupByUUIDString (virConnectPtr conn,
|
||||
*/
|
||||
virNetworkPtr virNetworkCreateXML (virConnectPtr conn,
|
||||
const char *xmlDesc);
|
||||
virNetworkPtr virNetworkCreateXMLFlags(virConnectPtr conn,
|
||||
const char *xmlDesc,
|
||||
unsigned int flags);
|
||||
|
||||
typedef enum {
|
||||
VIR_NETWORK_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
|
||||
Reference in New Issue
Block a user