Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
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
*/
* 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.