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:
Laine Stump 2014-02-21 12:01:36 +02:00
parent 79358733b0
commit 7c39214cd4
3 changed files with 6 additions and 1 deletions

View File

@ -15504,7 +15504,7 @@ virDomainActualNetDefFormat(virBufferPtr buf,
return 0;
}
static int
int
virDomainNetDefFormat(virBufferPtr buf,
virDomainNetDefPtr def,
unsigned int flags)

View File

@ -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);

View File

@ -300,6 +300,7 @@ virDomainMemballoonModelTypeFromString;
virDomainMemballoonModelTypeToString;
virDomainMemDumpTypeFromString;
virDomainMemDumpTypeToString;
virDomainNetDefFormat;
virDomainNetDefFree;
virDomainNetFind;
virDomainNetFindIdx;