summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-05 14:02:06 +0800
committerOsier Yang <jyang@redhat.com>2012-09-17 12:37:03 +0800
commit53687b26d27cbdd7258949b777512ecf20319a71 (patch)
treeb0accb1ba9927bc59a7b1e11dd539f500378fc04 /libvirt-override-api.xml
parentff9990a39d5b607355baa7adbb700e2021763aa5 (diff)
downloadlibvirt-python-split-53687b26d27cbdd7258949b777512ecf20319a71.tar.gz
libvirt-python-split-53687b26d27cbdd7258949b777512ecf20319a71.tar.xz
libvirt-python-split-53687b26d27cbdd7258949b777512ecf20319a71.zip
list: Expose virConnectListAllNWFilters to Python binding
The implementation is done manually as the generator does not support wrapping lists of C pointers into Python objects. python/libvirt-override-api.xml: Document python/libvirt-override-virConnect.py: * Implementation for listAllNWFilters. python/libvirt-override.c: Implementation for the wrapper.
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index a3d6bbb..b8ab823 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -396,6 +396,12 @@
<arg name='conn' type='virConnectPtr' info='virConnect connection'/>
<return type='str *' info='the list of network filter IDs or None in case of error'/>
</function>
+ <function name='virConnectListAllNWFilters' file='python'>
+ <info>returns list of all network fitlers</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='flags' type='unsigned int' info='optional flags'/>
+ <return type='nwfilter *' info='the list of network filters or None in case of error'/>
+ </function>
<function name='virNWFilterLookupByUUID' file='python'>
<info>Try to lookup a network filter on the given hypervisor based on its UUID.</info>
<return type='virNWFilterPtr' info='a new network filter object or NULL in case of failure'/>