mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
api: add virNWFilterBindingCreateFlags
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
6779fca41c
commit
e21448e830
@ -107,6 +107,11 @@ int virNWFilterFree (virNWFilterPtr nwfilter);
|
||||
/*
|
||||
* NWFilter information
|
||||
*/
|
||||
|
||||
typedef enum {
|
||||
VIR_NWFILTER_BINDING_CREATE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||
} virNWFilterBindingCreateFlags;
|
||||
|
||||
const char* virNWFilterGetName (virNWFilterPtr nwfilter);
|
||||
int virNWFilterGetUUID (virNWFilterPtr nwfilter,
|
||||
unsigned char *uuid);
|
||||
|
@ -718,7 +718,7 @@ virNWFilterBindingGetFilterName(virNWFilterBindingPtr binding)
|
||||
* virNWFilterBindingCreateXML:
|
||||
* @conn: pointer to the hypervisor connection
|
||||
* @xml: an XML description of the binding
|
||||
* @flags: currently unused, pass 0
|
||||
* @flags: bitwise-OR of virNWFilterBindingCreateFlags
|
||||
*
|
||||
* Define a new network filter, based on an XML description
|
||||
* similar to the one returned by virNWFilterGetXMLDesc(). This
|
||||
|
Loading…
Reference in New Issue
Block a user