mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
snapshot_conf: export virDomainSnapshotDiskDefClear
We will need to call this function from qemu_snapshot when introducing external snapshot revert support. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
aba6f2a941
commit
824e2a4a98
@ -74,7 +74,7 @@ VIR_ENUM_IMPL(virDomainSnapshotState,
|
||||
);
|
||||
|
||||
/* Snapshot Def functions */
|
||||
static void
|
||||
void
|
||||
virDomainSnapshotDiskDefClear(virDomainSnapshotDiskDef *disk)
|
||||
{
|
||||
VIR_FREE(disk->name);
|
||||
|
@ -59,6 +59,9 @@ struct _virDomainSnapshotDiskDef {
|
||||
virStorageSource *src;
|
||||
};
|
||||
|
||||
void
|
||||
virDomainSnapshotDiskDefClear(virDomainSnapshotDiskDef *disk);
|
||||
|
||||
void
|
||||
virDomainSnapshotDiskDefFree(virDomainSnapshotDiskDef *disk);
|
||||
|
||||
|
@ -1037,6 +1037,7 @@ virDomainSnapshotDefFormat;
|
||||
virDomainSnapshotDefIsExternal;
|
||||
virDomainSnapshotDefNew;
|
||||
virDomainSnapshotDefParseString;
|
||||
virDomainSnapshotDiskDefClear;
|
||||
virDomainSnapshotDiskDefFree;
|
||||
virDomainSnapshotDiskDefParseXML;
|
||||
virDomainSnapshotFormatConvertXMLFlags;
|
||||
|
Loading…
Reference in New Issue
Block a user