summaryrefslogtreecommitdiff
path: root/libnm/nm-device-ovs-bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device-ovs-bridge.h')
-rw-r--r--libnm/nm-device-ovs-bridge.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libnm/nm-device-ovs-bridge.h b/libnm/nm-device-ovs-bridge.h
index b4b0b98b00..38f6fa87f0 100644
--- a/libnm/nm-device-ovs-bridge.h
+++ b/libnm/nm-device-ovs-bridge.h
@@ -14,7 +14,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
- * Copyright 2017 Red Hat, Inc.
+ * Copyright 2017,2018 Red Hat, Inc.
*/
#ifndef __NM_DEVICE_OVS_BRIDGE_H__
@@ -35,11 +35,16 @@ G_BEGIN_DECLS
#define NM_IS_DEVICE_OVS_BRIDGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_DEVICE_OVS_BRIDGE))
#define NM_DEVICE_OVS_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_OVS_BRIDGE, NMDeviceOvsBridgeClass))
+#define NM_DEVICE_OVS_BRIDGE_SLAVES "slaves"
+
typedef struct _NMDeviceOvsBridgeClass NMDeviceOvsBridgeClass;
NM_AVAILABLE_IN_1_10
GType nm_device_ovs_bridge_get_type (void);
+NM_AVAILABLE_IN_1_12_2
+const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
+
G_END_DECLS
#endif /* __NM_DEVICE_OVS_BRIDGE_H__ */