mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-06 20:00:05 +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 */
|
||||
} virInterfaceXMLFlags;
|
||||
|
||||
typedef enum {
|
||||
VIR_INTERFACE_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
} virInterfaceDefineFlags;
|
||||
|
||||
char * virInterfaceGetXMLDesc (virInterfacePtr iface,
|
||||
unsigned int flags);
|
||||
virInterfacePtr virInterfaceDefineXML (virConnectPtr conn,
|
||||
|
@ -437,7 +437,7 @@ virInterfaceGetXMLDesc(virInterfacePtr iface, unsigned int flags)
|
||||
* virInterfaceDefineXML:
|
||||
* @conn: pointer to the hypervisor connection
|
||||
* @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
|
||||
* persistent one from the XML description.
|
||||
|
Loading…
x
Reference in New Issue
Block a user