summaryrefslogtreecommitdiff
path: root/src/devices/openvswitch/nm-device-openvswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/openvswitch/nm-device-openvswitch.h')
-rw-r--r--src/devices/openvswitch/nm-device-openvswitch.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/devices/openvswitch/nm-device-openvswitch.h b/src/devices/openvswitch/nm-device-openvswitch.h
new file mode 100644
index 0000000000..b2d24f2eb8
--- /dev/null
+++ b/src/devices/openvswitch/nm-device-openvswitch.h
@@ -0,0 +1,35 @@
+/* NetworkManager -- Network link manager
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Copyright 2017 Red Hat, Inc.
+ */
+
+#ifndef __NETWORKMANAGER_DEVICE_OPENVSWITCH_H__
+#define __NETWORKMANAGER_DEVICE_OPENVSWITCH_H__
+
+#define NM_TYPE_DEVICE_OPENVSWITCH (nm_device_openvswitch_get_type ())
+#define NM_DEVICE_OPENVSWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DEVICE_OPENVSWITCH, NMDeviceOpenvswitch))
+#define NM_DEVICE_OPENVSWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_DEVICE_OPENVSWITCH, NMDeviceOpenvswitchClass))
+#define NM_IS_DEVICE_OPENVSWITCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_DEVICE_OPENVSWITCH))
+#define NM_IS_DEVICE_OPENVSWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_DEVICE_OPENVSWITCH))
+#define NM_DEVICE_OPENVSWITCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_OPENVSWITCH, NMDeviceOpenvswitchClass))
+
+typedef struct _NMDeviceOpenvswitch NMDeviceOpenvswitch;
+typedef struct _NMDeviceOpenvswitchClass NMDeviceOpenvswitchClass;
+
+GType nm_device_openvswitch_get_type (void);
+
+#endif /* __NETWORKMANAGER_DEVICE_OPENVSWITCH_H__ */