summaryrefslogtreecommitdiff
path: root/libnm/nm-device.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-10-22 13:48:18 -0400
committerDan Winship <danw@gnome.org>2014-11-07 07:49:40 -0500
commitd34910b12860eb080b1a519f441946cbc378f769 (patch)
tree073828d78a265eb8a50c9679b1d5e3770655c35f /libnm/nm-device.h
parentf8dcb9510c11055a40fd9e42448097c2751e1f2a (diff)
downloadNetworkManager-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.h4
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);