summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib/nm-device.h')
-rw-r--r--libnm-glib/nm-device.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h
index 75c51974b..50301dc93 100644
--- a/libnm-glib/nm-device.h
+++ b/libnm-glib/nm-device.h
@@ -76,8 +76,9 @@ typedef struct {
NMDeviceState old_state,
NMDeviceStateReason reason);
- gboolean (*connection_valid) (NMDevice *device,
- NMConnection *connection);
+ gboolean (*connection_compatible) (NMDevice *device,
+ NMConnection *connection,
+ GError **error);
/* Padding for future expansion */
void (*_reserved1) (void);
@@ -122,6 +123,10 @@ GSList * nm_device_filter_connections (NMDevice *device,
gboolean nm_device_connection_valid (NMDevice *device,
NMConnection *connection);
+gboolean nm_device_connection_compatible (NMDevice *device,
+ NMConnection *connection,
+ GError **error);
+
G_END_DECLS
#endif /* NM_DEVICE_H */