conf: Export virDomainChrSourceDefClear()

This commit is contained in:
Peter Krempa 2013-07-22 16:45:32 +02:00
parent 567fe30a3b
commit cc4df6fd5b
3 changed files with 4 additions and 1 deletions

View File

@ -1332,7 +1332,7 @@ void virDomainNetDefFree(virDomainNetDefPtr def)
VIR_FREE(def); VIR_FREE(def);
} }
static void ATTRIBUTE_NONNULL(1) void ATTRIBUTE_NONNULL(1)
virDomainChrSourceDefClear(virDomainChrSourceDefPtr def) virDomainChrSourceDefClear(virDomainChrSourceDefPtr def)
{ {
switch (def->type) { switch (def->type) {

View File

@ -2719,4 +2719,6 @@ int virDomainDefFindDevice(virDomainDefPtr def,
bool virDomainDiskSourceIsBlockType(virDomainDiskDefPtr def) bool virDomainDiskSourceIsBlockType(virDomainDiskDefPtr def)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
void virDomainChrSourceDefClear(virDomainChrSourceDefPtr def);
#endif /* __DOMAIN_CONF_H */ #endif /* __DOMAIN_CONF_H */

View File

@ -123,6 +123,7 @@ virDomainChrInsert;
virDomainChrRemove; virDomainChrRemove;
virDomainChrSerialTargetTypeFromString; virDomainChrSerialTargetTypeFromString;
virDomainChrSerialTargetTypeToString; virDomainChrSerialTargetTypeToString;
virDomainChrSourceDefClear;
virDomainChrSourceDefCopy; virDomainChrSourceDefCopy;
virDomainChrSourceDefFree; virDomainChrSourceDefFree;
virDomainChrSpicevmcTypeFromString; virDomainChrSpicevmcTypeFromString;