summaryrefslogtreecommitdiffstats
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-04-20 11:49:27 +0200
committerDaniel Veillard <veillard@redhat.com>2010-04-20 11:49:27 +0200
commit37f24b06c0f96539f8964e0b41010f4ebe514f5f (patch)
treeaff148090f9c563bfcb63e203d9d0414ae40ab00 /libvirt-override-api.xml
parent73d5ccb8d2792ddf11c58e337039dd27f65923e2 (diff)
downloadlibvirt-python-v6-37f24b06c0f96539f8964e0b41010f4ebe514f5f.tar.gz
libvirt-python-v6-37f24b06c0f96539f8964e0b41010f4ebe514f5f.tar.xz
libvirt-python-v6-37f24b06c0f96539f8964e0b41010f4ebe514f5f.zip
Fixup python binding for virDomainSnapshot APIs
The generator code was totally wrong for the virDomainSnapshot APIs, not generating the wrapper class, and giving methods the wrong names * generator.py: Set metadata for virDomainSnapshot type & APIs * libvirt-override-api.xml, libvirt-override.c: Hand-code the virDomainSnapshotListNames glue layer
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 e95c46a..6f1bc04 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -243,5 +243,11 @@
<arg name='xmlCPUs' type='const char **' info='array of XML descriptions of host CPUs'/>
<arg name='flags' type='unsigned int' info='fine-tuning flags, currently unused, pass 0.'/>
</function>
+ <function name='virDomainSnapshotListNames' file='python'>
+ <info>collect the list of snapshots for the given domain</info>
+ <arg name='dom' type='virDomainPtr' info='pointer to the domain'/>
+ <arg name='flags' type='unsigned int' info='flags, curently unused'/>
+ <return type='str *' info='the list of Names of None in case of error'/>
+ </function>
</symbols>
</api>