diff options
author | Dan Winship <danw@gnome.org> | 2014-10-22 13:48:18 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-11-07 07:49:40 -0500 |
commit | d34910b12860eb080b1a519f441946cbc378f769 (patch) | |
tree | 073828d78a265eb8a50c9679b1d5e3770655c35f /libnm/nm-device.h | |
parent | f8dcb9510c11055a40fd9e42448097c2751e1f2a (diff) | |
download | NetworkManager-d34910b12860eb080b1a519f441946cbc378f769.tar.gz |
libnm: create NMIPConfig as parent of NMIP4Config and NMIP6Config
Create NMIPConfig as the parent of NMIP4Config and NMIP6Config, and
remove the two subclasses from the public API; while it's convenient
to still have both internally, they are now identical to the outside
world.
Diffstat (limited to 'libnm/nm-device.h')
-rw-r--r-- | libnm/nm-device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-device.h b/libnm/nm-device.h index 412dff3f96..2b103e5486 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -104,9 +104,9 @@ gboolean nm_device_get_managed (NMDevice *device); gboolean nm_device_get_autoconnect (NMDevice *device); void nm_device_set_autoconnect (NMDevice *device, gboolean autoconnect); gboolean nm_device_get_firmware_missing (NMDevice *device); -NMIP4Config * nm_device_get_ip4_config (NMDevice *device); +NMIPConfig * nm_device_get_ip4_config (NMDevice *device); NMDhcp4Config * nm_device_get_dhcp4_config (NMDevice *device); -NMIP6Config * nm_device_get_ip6_config (NMDevice *device); +NMIPConfig * nm_device_get_ip6_config (NMDevice *device); NMDhcp6Config * nm_device_get_dhcp6_config (NMDevice *device); NMDeviceState nm_device_get_state (NMDevice *device); NMDeviceStateReason nm_device_get_state_reason (NMDevice *device); |