diff options
author | Eric Blake <eblake@redhat.com> | 2011-09-24 19:56:26 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-10-10 16:54:16 -0600 |
commit | f2013c9dd1ce468b8620ee35c232a93ef7026fb0 (patch) | |
tree | d382e50eef09fd2b1a58de48a754b9d69e9f561b /src/libvirt_public.syms | |
parent | docs: fix html bug (diff) | |
download | libvirt-f2013c9dd1ce468b8620ee35c232a93ef7026fb0.tar.gz libvirt-f2013c9dd1ce468b8620ee35c232a93ef7026fb0.tar.bz2 libvirt-f2013c9dd1ce468b8620ee35c232a93ef7026fb0.zip |
snapshot: new virDomainSnapshotListChildrenNames API
The previous API addition allowed traversal up the hierarchy;
this one makes it easier to traverse down the hierarchy.
In the python bindings, virDomainSnapshotNumChildren can be
generated, but virDomainSnapshotListChildrenNames had to copy
from the hand-written example of virDomainSnapshotListNames.
* include/libvirt/libvirt.h.in (virDomainSnapshotNumChildren)
(virDomainSnapshotListChildrenNames): New prototypes.
(VIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTS): New flag alias.
* src/libvirt.c (virDomainSnapshotNumChildren)
(virDomainSnapshotListChildrenNames): New functions.
* src/libvirt_public.syms: Export them.
* src/driver.h (virDrvDomainSnapshotNumChildren)
(virDrvDomainSnapshotListChildrenNames): New callbacks.
* python/generator.py (skip_impl, nameFixup): Update lists.
* python/libvirt-override-api.xml: Likewise.
* python/libvirt-override.c
(libvirt_virDomainSnapshotListChildrenNames): New wrapper function.
Diffstat (limited to 'src/libvirt_public.syms')
-rw-r--r-- | src/libvirt_public.syms | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms index afea29ba4..9762fc47b 100644 --- a/src/libvirt_public.syms +++ b/src/libvirt_public.syms @@ -493,6 +493,8 @@ LIBVIRT_0.9.7 { global: virDomainReset; virDomainSnapshotGetParent; + virDomainSnapshotListChildrenNames; + virDomainSnapshotNumChildren; } LIBVIRT_0.9.5; # .... define new API here using predicted next version number .... |