diff options
author | Dan Williams <dcbw@redhat.com> | 2014-10-06 11:34:02 -0500 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-12-04 12:15:12 +0100 |
commit | deb6c5f7143f9f257b79a8c9db724310ef4c9a31 (patch) | |
tree | 286f4bc62c5b3a15da1b060c2ae47d122cad3887 /libnm/nm-device.h | |
parent | d6f9230beba146818112b36f9f31c9eb10bec888 (diff) | |
download | NetworkManager-deb6c5f7143f9f257b79a8c9db724310ef4c9a31.tar.gz |
libnm-glib/libnm: add support for "real" NMDevice property
Diffstat (limited to 'libnm/nm-device.h')
-rw-r--r-- | libnm/nm-device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-device.h b/libnm/nm-device.h index 005d85dd4f..45ee3b2100 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -45,6 +45,7 @@ G_BEGIN_DECLS #define NM_DEVICE_DRIVER_VERSION "driver-version" #define NM_DEVICE_FIRMWARE_VERSION "firmware-version" #define NM_DEVICE_CAPABILITIES "capabilities" +#define NM_DEVICE_REAL "real" #define NM_DEVICE_MANAGED "managed" #define NM_DEVICE_AUTOCONNECT "autoconnect" #define NM_DEVICE_FIRMWARE_MISSING "firmware-missing" @@ -123,6 +124,8 @@ NMActiveConnection * nm_device_get_active_connection(NMDevice *device); const GPtrArray * nm_device_get_available_connections(NMDevice *device); const char * nm_device_get_physical_port_id (NMDevice *device); guint32 nm_device_get_mtu (NMDevice *device); +NM_AVAILABLE_IN_1_2 +gboolean nm_device_is_real (NMDevice *device); gboolean nm_device_is_software (NMDevice *device); const char * nm_device_get_product (NMDevice *device); |