[libvirt] [libvirt-glib] [PATCH 2/2] libvirt-gobject-domain: Add _get_snapshots
Christophe Fergeau
cfergeau at redhat.com
Wed Jun 25 09:08:48 UTC 2014
On Mon, Jun 23, 2014 at 05:29:11PM +0200, Timm Bäder wrote:
> ... which returns a GList of GVirDomainSnapshots, i.e. without any tree
> structure or other relationship between the snapshots.
> ---
> libvirt-gobject/libvirt-gobject-domain.c | 21 +++++++++++++++++++++
> libvirt-gobject/libvirt-gobject-domain.h | 4 ++++
> libvirt-gobject/libvirt-gobject.sym | 1 +
> 3 files changed, 26 insertions(+)
>
> diff --git a/libvirt-gobject/libvirt-gobject-domain.c b/libvirt-gobject/libvirt-gobject-domain.c
> index f6b5837..2da99df 100644
> --- a/libvirt-gobject/libvirt-gobject-domain.c
> +++ b/libvirt-gobject/libvirt-gobject-domain.c
> @@ -1573,3 +1573,24 @@ gboolean gvir_domain_fetch_snapshots(GVirDomain *dom,
> g_free(snapshots);
> return TRUE;
> }
> +
> +/**
> + * gvir_domain_get_snapshots:
> + * @dom: The domain
> + * Returns: (element-type LibvirtGObject.DomainSnapshot) (transfer full): A list of
This line is a few characters too long, ACK to the patch otherwise.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140625/12d7887f/attachment-0001.sig>
More information about the libvir-list
mailing list