mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
conf: make virDomainNetDefFormat a public function
We will need to call virDomainNetDefFormat() from the network hook (in the network driver).
This commit is contained in:
parent
79358733b0
commit
7c39214cd4
@ -15504,7 +15504,7 @@ virDomainActualNetDefFormat(virBufferPtr buf,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
virDomainNetDefFormat(virBufferPtr buf,
|
virDomainNetDefFormat(virBufferPtr buf,
|
||||||
virDomainNetDefPtr def,
|
virDomainNetDefPtr def,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
|
@ -2402,6 +2402,10 @@ int virDomainDiskSourceDefFormatInternal(virBufferPtr buf,
|
|||||||
virDomainDiskSourcePoolDefPtr srcpool,
|
virDomainDiskSourcePoolDefPtr srcpool,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
|
|
||||||
|
int virDomainNetDefFormat(virBufferPtr buf,
|
||||||
|
virDomainNetDefPtr def,
|
||||||
|
unsigned int flags);
|
||||||
|
|
||||||
int virDomainDefCompatibleDevice(virDomainDefPtr def,
|
int virDomainDefCompatibleDevice(virDomainDefPtr def,
|
||||||
virDomainDeviceDefPtr dev);
|
virDomainDeviceDefPtr dev);
|
||||||
|
|
||||||
|
@ -300,6 +300,7 @@ virDomainMemballoonModelTypeFromString;
|
|||||||
virDomainMemballoonModelTypeToString;
|
virDomainMemballoonModelTypeToString;
|
||||||
virDomainMemDumpTypeFromString;
|
virDomainMemDumpTypeFromString;
|
||||||
virDomainMemDumpTypeToString;
|
virDomainMemDumpTypeToString;
|
||||||
|
virDomainNetDefFormat;
|
||||||
virDomainNetDefFree;
|
virDomainNetDefFree;
|
||||||
virDomainNetFind;
|
virDomainNetFind;
|
||||||
virDomainNetFindIdx;
|
virDomainNetFindIdx;
|
||||||
|
Loading…
Reference in New Issue
Block a user