mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
network: add virNetworkPortRef API
Normal practice is to provide a Ref API for all objects, but this was forgotten for the virNetworkPortPtr object. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -455,4 +455,7 @@ virNetworkListAllPorts(virNetworkPtr network,
|
||||
int
|
||||
virNetworkPortFree(virNetworkPortPtr port);
|
||||
|
||||
int
|
||||
virNetworkPortRef(virNetworkPortPtr port);
|
||||
|
||||
#endif /* LIBVIRT_NETWORK_H */
|
||||
|
||||
Reference in New Issue
Block a user