diff options
author | Dan Winship <danw@gnome.org> | 2013-02-12 13:11:42 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-02-14 09:31:33 -0500 |
commit | 43f259ee1f982a937426307f60b57aecd7601455 (patch) | |
tree | 0d903e659ff35a176b1c97e0613d75b6df01454f /libnm-glib/nm-device.h | |
parent | 24cda2bc367d9fafa847a82493a1adb9f3e53e47 (diff) | |
download | NetworkManager-43f259ee1f982a937426307f60b57aecd7601455.tar.gz |
libnm-glib: add NMDevice:available-connections
NMDevice has a D-Bus "AvailableConnections" property, but we weren't
exposing it on NMDevice. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=693669
Diffstat (limited to 'libnm-glib/nm-device.h')
-rw-r--r-- | libnm-glib/nm-device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h index 1726862fd3..c49675bccf 100644 --- a/libnm-glib/nm-device.h +++ b/libnm-glib/nm-device.h @@ -63,6 +63,7 @@ G_BEGIN_DECLS #define NM_DEVICE_STATE "state" #define NM_DEVICE_STATE_REASON "state-reason" #define NM_DEVICE_ACTIVE_CONNECTION "active-connection" +#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections" #define NM_DEVICE_VENDOR "vendor" #define NM_DEVICE_PRODUCT "product" @@ -115,6 +116,7 @@ NMDHCP6Config * nm_device_get_dhcp6_config (NMDevice *device); NMDeviceState nm_device_get_state (NMDevice *device); NMDeviceState nm_device_get_state_reason (NMDevice *device, NMDeviceStateReason *reason); NMActiveConnection * nm_device_get_active_connection(NMDevice *device); +const GPtrArray * nm_device_get_available_connections(NMDevice *device); const char * nm_device_get_product (NMDevice *device); const char * nm_device_get_vendor (NMDevice *device); |