summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-14 16:38:51 +0800
committerOsier Yang <jyang@redhat.com>2012-09-17 13:18:51 +0800
commit4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a (patch)
tree6d9237c554009105743d493cb628c1d6e6960364 /libvirt-override-api.xml
parentc29d33763777b68fd43f9d8d0e73f10e18677612 (diff)
downloadlibvirt-python-split-4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a.tar.gz
libvirt-python-split-4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a.tar.xz
libvirt-python-split-4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a.zip
list: Expose virConnectListAllSecrets 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 listAllSecrets. 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 b8ab823..4f609ee 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -368,6 +368,12 @@
<arg name='conn' type='virConnectPtr' info='virConnect connection'/>
<return type='str *' info='the list of secret IDs or None in case of error'/>
</function>
+ <function name='virConnectListAllSecrets' file='python'>
+ <info>returns list of all interfaces</info>
+ <arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
+ <arg name='flags' type='unsigned int' info='optional flags'/>
+ <return type='secret *' info='the list of secrets or None in case of error'/>
+ </function>
<function name='virSecretSetValue' file='libvirt' module='libvirt'>
<info>Associates a value with a secret.</info>
<return type='int' info='0 on success, -1 on failure.'/>