summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKristina Hanicova <khanicov@redhat.com>2021-08-20 13:28:49 +0200
committerJán Tomko <jtomko@redhat.com>2021-08-20 15:41:21 +0200
commit609dfaf43e0b035315b76f4bcdb433c73c83b1b0 (patch)
tree8225c8d48c02ea1d33c5325243d5136a174b7b3c /include
parenta3d88c9d4c0efd00559c255da851f14b6500294e (diff)
downloadlibvirt-609dfaf43e0b035315b76f4bcdb433c73c83b1b0.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/libvirt/libvirt-interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libvirt/libvirt-interface.h b/include/libvirt/libvirt-interface.h
index 7591c6c7fb..803cb33ffe 100644
--- a/include/libvirt/libvirt-interface.h
+++ b/include/libvirt/libvirt-interface.h
@@ -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,