summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device-bond.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-10-17 16:10:03 -0400
committerDan Winship <danw@gnome.org>2012-10-19 12:09:27 -0400
commitad74379c2c08284ced76505a85d802bf120ec92f (patch)
treedf1c75b5180b70099881e20e108c8a6a93405901 /libnm-glib/nm-device-bond.h
parent439fefd295d4d913179f83ad464422a4458a7f89 (diff)
downloadNetworkManager-ad74379c2c08284ced76505a85d802bf120ec92f.tar.gz
core, libnm-glib: expose "slaves" property on NMDeviceBond
https://bugzilla.gnome.org/show_bug.cgi?id=686367
Diffstat (limited to 'libnm-glib/nm-device-bond.h')
-rw-r--r--libnm-glib/nm-device-bond.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libnm-glib/nm-device-bond.h b/libnm-glib/nm-device-bond.h
index 61ff38267d..a495689a9c 100644
--- a/libnm-glib/nm-device-bond.h
+++ b/libnm-glib/nm-device-bond.h
@@ -53,6 +53,7 @@ GQuark nm_device_bond_error_quark (void);
#define NM_DEVICE_BOND_HW_ADDRESS "hw-address"
#define NM_DEVICE_BOND_CARRIER "carrier"
+#define NM_DEVICE_BOND_SLAVES "slaves"
typedef struct {
NMDevice parent;
@@ -74,8 +75,9 @@ GType nm_device_bond_get_type (void);
GObject *nm_device_bond_new (DBusGConnection *connection, const char *path);
-const char * nm_device_bond_get_hw_address (NMDeviceBond *device);
-gboolean nm_device_bond_get_carrier (NMDeviceBond *device);
+const char *nm_device_bond_get_hw_address (NMDeviceBond *device);
+gboolean nm_device_bond_get_carrier (NMDeviceBond *device);
+const GPtrArray *nm_device_bond_get_slaves (NMDeviceBond *device);
G_END_DECLS