summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-infiniband.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-29 12:57:13 -0300
committerDan Winship <danw@gnome.org>2013-06-05 17:49:25 -0300
commitb322c0dc816b77efc271097d2c22ac7bfd7ac0d0 (patch)
tree84deea14ad66b1af1fae7136b73a96c758279d58 /src/devices/nm-device-infiniband.h
parent05216f67d6b99f110cc0914d899223079d6e10f1 (diff)
downloadNetworkManager-b322c0dc816b77efc271097d2c22ac7bfd7ac0d0.tar.gz
devices: make constructors take an NMPlatformLink
Rather than passing UDI, ifname, and driver name to the device constructors as separate arguments, just pass the NMPlatformLink instead and let it parse them out. Virtual types still take UDI and ifname separately, since we create fake NMDevices for them for autoactivating connections. That's weird in other ways too though, so perhaps this should be revisted.
Diffstat (limited to 'src/devices/nm-device-infiniband.h')
-rw-r--r--src/devices/nm-device-infiniband.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/nm-device-infiniband.h b/src/devices/nm-device-infiniband.h
index baded8546f..8c630fb806 100644
--- a/src/devices/nm-device-infiniband.h
+++ b/src/devices/nm-device-infiniband.h
@@ -52,9 +52,7 @@ typedef struct {
GType nm_device_infiniband_get_type (void);
-NMDevice *nm_device_infiniband_new (const char *udi,
- const char *iface,
- const char *driver);
+NMDevice *nm_device_infiniband_new (NMPlatformLink *platform_device);
G_END_DECLS