summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-04 23:16:33 +0800
committerOsier Yang <jyang@redhat.com>2012-09-06 22:16:11 +0800
commit16ab57206edaf47d5cff9dea89a944ff1c5dc761 (patch)
treeaf880b679323bd48089efa67a95b7d02a1432153 /libvirt-override-api.xml
parentf3f1a4376405f45ac136a922d535f79a5f816be4 (diff)
downloadlibvirt-python-v6-16ab57206edaf47d5cff9dea89a944ff1c5dc761.tar.gz
libvirt-python-v6-16ab57206edaf47d5cff9dea89a944ff1c5dc761.tar.xz
libvirt-python-v6-16ab57206edaf47d5cff9dea89a944ff1c5dc761.zip
python: Expose virStorageListAllStoragePools 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: Add listAllStoragePools 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 67ef36e..d16755c 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -306,6 +306,12 @@
<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='virConnectListAllStoragePools' file='python'>
+ <info>returns list of all storage pools</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='flags' type='unsigned int' info='optional flags'/>
+ <return type='pool *' info='the list of pools or None in case of error'/>
+ </function>
<function name='virStoragePoolListVolumes' file='python'>
<info>list the storage volumes, stores the pointers to the names in @names</info>
<arg name='pool' type='virStoragePoolPtr' info='pointer to the storage pool'/>