mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
device: add nm_device_get_s390_subchannels() accessor
This commit is contained in:
parent
c47d6b17d5
commit
dbb45f14d3
|
@ -5115,6 +5115,18 @@ nm_device_get_ip_iface_identifier(NMDevice *self,
|
|||
return NM_DEVICE_GET_CLASS(self)->get_ip_iface_identifier(self, iid);
|
||||
}
|
||||
|
||||
const char *
|
||||
nm_device_get_s390_subchannels(NMDevice *self)
|
||||
{
|
||||
NMDeviceClass *klass;
|
||||
|
||||
g_return_val_if_fail(NM_IS_DEVICE(self), NULL);
|
||||
|
||||
klass = NM_DEVICE_GET_CLASS(self);
|
||||
|
||||
return klass->get_s390_subchannels ? klass->get_s390_subchannels(self) : NULL;
|
||||
}
|
||||
|
||||
const char *
|
||||
nm_device_get_driver(NMDevice *self)
|
||||
{
|
||||
|
|
|
@ -460,6 +460,7 @@ gboolean nm_device_is_real(NMDevice *dev);
|
|||
const char *nm_device_get_ip_iface(NMDevice *dev);
|
||||
const char *nm_device_get_ip_iface_from_platform(NMDevice *dev);
|
||||
int nm_device_get_ip_ifindex(const NMDevice *dev);
|
||||
const char *nm_device_get_s390_subchannels(NMDevice *self);
|
||||
const char *nm_device_get_driver(NMDevice *dev);
|
||||
const char *nm_device_get_driver_version(NMDevice *dev);
|
||||
const char *nm_device_get_type_desc(NMDevice *dev);
|
||||
|
|
Loading…
Reference in a new issue