diff options
author | Dan Winship <danw@gnome.org> | 2012-10-17 16:10:03 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-10-19 12:09:27 -0400 |
commit | ad74379c2c08284ced76505a85d802bf120ec92f (patch) | |
tree | df1c75b5180b70099881e20e108c8a6a93405901 /libnm-glib/nm-device-bond.h | |
parent | 439fefd295d4d913179f83ad464422a4458a7f89 (diff) | |
download | NetworkManager-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.h | 6 |
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 |