diff options
author | Osier Yang <jyang@redhat.com> | 2012-09-14 16:38:51 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2012-09-17 13:18:51 +0800 |
commit | 4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a (patch) | |
tree | 6d9237c554009105743d493cb628c1d6e6960364 /libvirt-override-api.xml | |
parent | c29d33763777b68fd43f9d8d0e73f10e18677612 (diff) | |
download | libvirt-python-v6-4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a.tar.gz libvirt-python-v6-4a8290241b6308c0a1827073ca9d5eeb7fbe6a0a.tar.xz libvirt-python-v6-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.xml | 6 |
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.'/> |