]> git.ipfire.org Git - thirdparty/libvirt.git/commit
list: new helper function to collect snapshots
authorEric Blake <eblake@redhat.com>
Wed, 13 Jun 2012 22:57:36 +0000 (16:57 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 19 Jun 2012 20:51:54 +0000 (14:51 -0600)
commit8548a9c50150c0bd8b453defe522571baa31c35d
tree8e647b01d148fa1a07f03bc178a7add0d0278f64
parentdbb564f862bc2fca63a63acdc794727340b9d046
list: new helper function to collect snapshots

Wraps the conversion from 'char *name' to virDomainSnapshotPtr in
a reusable manner.

* src/conf/virdomainlist.h (virDomainListSnapshots): New declaration.
* src/conf/virdomainlist.c (virDomainListSnapshots): Implement it.
* src/libvirt_private.syms (virdomainlist.h): Export it.
src/conf/virdomainlist.c
src/conf/virdomainlist.h
src/libvirt_private.syms