1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

virStorageSourceSliceFree: Export function

The function will be used in the code for resizing block devices with a
slice.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2023-12-11 17:06:32 +01:00
parent 48704d4605
commit d552d02265
3 changed files with 4 additions and 1 deletions

View File

@ -765,7 +765,7 @@ virStorageSourceSliceCopy(const virStorageSourceSlice *src)
} }
static void void
virStorageSourceSliceFree(virStorageSourceSlice *slice) virStorageSourceSliceFree(virStorageSourceSlice *slice)
{ {
if (!slice) if (!slice)

View File

@ -258,6 +258,8 @@ struct _virStorageSourceSlice {
char *nodename; char *nodename;
}; };
void
virStorageSourceSliceFree(virStorageSourceSlice *slice);
struct _virStorageSourceFDTuple { struct _virStorageSourceFDTuple {
GObject parent; GObject parent;

View File

@ -1161,6 +1161,7 @@ virStorageSourcePoolModeTypeFromString;
virStorageSourcePoolModeTypeToString; virStorageSourcePoolModeTypeToString;
virStorageSourcePrivateDataFormatRelPath; virStorageSourcePrivateDataFormatRelPath;
virStorageSourcePrivateDataParseRelPath; virStorageSourcePrivateDataParseRelPath;
virStorageSourceSliceFree;
virStorageTypeFromString; virStorageTypeFromString;
virStorageTypeToString; virStorageTypeToString;