mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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.
This commit is contained in:
@@ -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.'/>
|
||||
|
||||
Reference in New Issue
Block a user