summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-03-10 22:27:10 -0600
committerDan Williams <dcbw@redhat.com>2011-03-10 22:27:10 -0600
commit3320764e1e3eb6e7ffa845c1181aecec301623a8 (patch)
treef2e4310db7ac1df29d906041501c64f9de6b2383 /libnm-glib/nm-device.h
parentfbf118e58e47c41d63910dbe979325eb6d31e49f (diff)
downloadNetworkManager-3320764e1e3eb6e7ffa845c1181aecec301623a8.tar.gz
libnm-glib: add nm_device_filter_connections()
Diffstat (limited to 'libnm-glib/nm-device.h')
-rw-r--r--libnm-glib/nm-device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h
index 0c330e0b1a..0b641587ac 100644
--- a/libnm-glib/nm-device.h
+++ b/libnm-glib/nm-device.h
@@ -73,6 +73,9 @@ typedef struct {
NMDeviceState old_state,
NMDeviceStateReason reason);
+ GSList * (*filter_connections) (NMDevice *device,
+ const GSList *connections);
+
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
@@ -108,6 +111,9 @@ void nm_device_disconnect (NMDevice *device,
NMDeviceDeactivateFn callback,
gpointer user_data);
+GSList * nm_device_filter_connections (NMDevice *device,
+ const GSList *connections);
+
G_END_DECLS
#endif /* NM_DEVICE_H */