mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
api: add virNWFilterDefineFlags
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
fa53b26026
commit
499c0e4ecf
@ -80,6 +80,10 @@ virNWFilterPtr virNWFilterLookupByUUID (virConnectPtr conn,
|
|||||||
virNWFilterPtr virNWFilterLookupByUUIDString (virConnectPtr conn,
|
virNWFilterPtr virNWFilterLookupByUUIDString (virConnectPtr conn,
|
||||||
const char *uuid);
|
const char *uuid);
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
VIR_NWFILTER_DEFINE_VALIDATE = 1 << 0, /* Validate the XML document against schema */
|
||||||
|
} virNWFilterDefineFlags;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define persistent nwfilter
|
* Define persistent nwfilter
|
||||||
*/
|
*/
|
||||||
|
@ -410,7 +410,7 @@ virNWFilterDefineXML(virConnectPtr conn, const char *xmlDesc)
|
|||||||
* virNWFilterDefineXMLFlags:
|
* virNWFilterDefineXMLFlags:
|
||||||
* @conn: pointer to the hypervisor connection
|
* @conn: pointer to the hypervisor connection
|
||||||
* @xmlDesc: an XML description of the nwfilter
|
* @xmlDesc: an XML description of the nwfilter
|
||||||
* @flags: extra flags; not used yet, so callers should always pass 0
|
* @flags: bitwise-OR of virNWFilterDefineFlags
|
||||||
*
|
*
|
||||||
* Define a new network filter, based on an XML description
|
* Define a new network filter, based on an XML description
|
||||||
* similar to the one returned by virNWFilterGetXMLDesc()
|
* similar to the one returned by virNWFilterGetXMLDesc()
|
||||||
|
Loading…
Reference in New Issue
Block a user