mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virsh: add cleanup function for virshDomainSnapshot
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
84e9baad7b
commit
6c96bf6bbf
@ -55,8 +55,10 @@ void
|
||||
virshDomainCheckpointFree(virDomainCheckpointPtr chk);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainCheckpoint, virshDomainCheckpointFree);
|
||||
|
||||
typedef virDomainSnapshot virshDomainSnapshot;
|
||||
void
|
||||
virshDomainSnapshotFree(virDomainSnapshotPtr snap);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virshDomainSnapshot, virshDomainSnapshotFree);
|
||||
|
||||
int
|
||||
virshDomainState(vshControl *ctl,
|
||||
|
Loading…
Reference in New Issue
Block a user