mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 13:55:47 +00:00
api: add virInterfaceDefineFlags
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a3d88c9d4c
commit
609dfaf43e
@ -79,6 +79,10 @@ typedef enum {
|
|||||||
VIR_INTERFACE_XML_INACTIVE = 1 << 0 /* dump inactive interface information */
|
VIR_INTERFACE_XML_INACTIVE = 1 << 0 /* dump inactive interface information */
|
||||||
} virInterfaceXMLFlags;
|
} virInterfaceXMLFlags;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
VIR_INTERFACE_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||||
|
} virInterfaceDefineFlags;
|
||||||
|
|
||||||
char * virInterfaceGetXMLDesc (virInterfacePtr iface,
|
char * virInterfaceGetXMLDesc (virInterfacePtr iface,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
virInterfacePtr virInterfaceDefineXML (virConnectPtr conn,
|
virInterfacePtr virInterfaceDefineXML (virConnectPtr conn,
|
||||||
|
@ -437,7 +437,7 @@ virInterfaceGetXMLDesc(virInterfacePtr iface, unsigned int flags)
|
|||||||
* virInterfaceDefineXML:
|
* virInterfaceDefineXML:
|
||||||
* @conn: pointer to the hypervisor connection
|
* @conn: pointer to the hypervisor connection
|
||||||
* @xml: the XML description for the interface, preferably in UTF-8
|
* @xml: the XML description for the interface, preferably in UTF-8
|
||||||
* @flags: extra flags; not used yet, so callers should always pass 0
|
* @flags: bitwise-OR of virInterfaceDefineFlags
|
||||||
*
|
*
|
||||||
* Define an inactive persistent physical host interface or modify an existing
|
* Define an inactive persistent physical host interface or modify an existing
|
||||||
* persistent one from the XML description.
|
* persistent one from the XML description.
|
||||||
|
Loading…
Reference in New Issue
Block a user