about summary refs log tree commit diff
path: root/libnm/nm-device.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-08-28 01:14:03 +0200
committerMichael Biebl <biebl@debian.org>2015-08-28 01:14:03 +0200
commit235f4801bff27219c6448c83874b5d9f8686ce58 (patch)
tree7084e0f7d7a63901c21b56b67fbd3e203d5dbb80 /libnm/nm-device.h
parent79436717ed9d593754a40402b6dc1b0cabac605e (diff)
parent81836c2d44802b4cca833d7775dd627e0797a7e2 (diff)
Merge tag 'upstream/1.0.6'
Upstream version 1.0.6
Diffstat (limited to 'libnm/nm-device.h')
-rw-r--r--libnm/nm-device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-device.h b/libnm/nm-device.h
index 5cc37356..a61dcf32 100644
--- a/libnm/nm-device.h
+++ b/libnm/nm-device.h
@@ -60,6 +60,7 @@ G_BEGIN_DECLS
 #define NM_DEVICE_PRODUCT "product"
 #define NM_DEVICE_PHYSICAL_PORT_ID "physical-port-id"
 #define NM_DEVICE_MTU "mtu"
+#define NM_DEVICE_METERED "metered"
 
 struct _NMDevice {
 	NMObject parent;
@@ -119,6 +120,8 @@ gboolean             nm_device_is_software          (NMDevice *device);
 const char *         nm_device_get_product           (NMDevice  *device);
 const char *         nm_device_get_vendor            (NMDevice  *device);
 const char *         nm_device_get_description       (NMDevice  *device);
+NM_AVAILABLE_IN_1_0_6
+NMMetered            nm_device_get_metered           (NMDevice  *device);
 char **              nm_device_disambiguate_names    (NMDevice **devices,
                                                       int        num_devices);