summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2009-11-20 16:22:42 +0100
committerDaniel Veillard <veillard@redhat.com>2009-11-20 16:22:42 +0100
commit8153376d7776d820cb1e1948530b945dfb93593f (patch)
treec6a612a74626c91fe60e1f8e200005da81b7f199 /libvirt-override-api.xml
parentd0e7cc1264533d6a6e4ad2a5b9252f97dc96cba3 (diff)
downloadlibvirt-python-split-8153376d7776d820cb1e1948530b945dfb93593f.tar.gz
libvirt-python-split-8153376d7776d820cb1e1948530b945dfb93593f.tar.xz
libvirt-python-split-8153376d7776d820cb1e1948530b945dfb93593f.zip
python: Actually implement list*Interfaces bindingsv0.7.4v0.7.3
* python/generator.py python/libvirt-override-api.xml python/libvirt-override.c: implement the bindings for virConnectListInterfaces() and virConnectListDefinedInterfaces()
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index 4e55182..96958b5 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -211,5 +211,15 @@
<return type='char *' info='the UUID string or None in case of error'/>
<arg name='secret' type='virSecretPtr' info='a secret object'/>
</function>
+ <function name='virConnectListInterfaces' file='python'>
+ <info>list the running interfaces, stores the pointers to the names in @names</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <return type='str *' info='the list of Names of None in case of error'/>
+ </function>
+ <function name='virConnectListDefinedInterfaces' file='python'>
+ <info>list the defined interfaces, stores the pointers to the names in @names</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <return type='str *' info='the list of Names of None in case of error'/>
+ </function>
</symbols>
</api>