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;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
virDomainNetDefFormat(virBufferPtr buf,
|
||||
virDomainNetDefPtr def,
|
||||
unsigned int flags)
|
||||
|
@ -2402,6 +2402,10 @@ int virDomainDiskSourceDefFormatInternal(virBufferPtr buf,
|
||||
virDomainDiskSourcePoolDefPtr srcpool,
|
||||
unsigned int flags);
|
||||
|
||||
int virDomainNetDefFormat(virBufferPtr buf,
|
||||
virDomainNetDefPtr def,
|
||||
unsigned int flags);
|
||||
|
||||
int virDomainDefCompatibleDevice(virDomainDefPtr def,
|
||||
virDomainDeviceDefPtr dev);
|
||||
|
||||
|
@ -300,6 +300,7 @@ virDomainMemballoonModelTypeFromString;
|
||||
virDomainMemballoonModelTypeToString;
|
||||
virDomainMemDumpTypeFromString;
|
||||
virDomainMemDumpTypeToString;
|
||||
virDomainNetDefFormat;
|
||||
virDomainNetDefFree;
|
||||
virDomainNetFind;
|
||||
virDomainNetFindIdx;
|
||||
|
Loading…
Reference in New Issue
Block a user