summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-tun.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-08 11:50:37 -0500
committerDan Williams <dcbw@redhat.com>2014-09-11 12:50:17 -0500
commit3deb3ff6839273f73895817fbcf443a346f64dae (patch)
tree9f03f2f888019c220ad913e5ac6c7deacf46aa93 /src/devices/nm-device-tun.h
parent11eb99e9a7fc1bf160143124a3738c6628cdc52f (diff)
downloadNetworkManager-3deb3ff6839273f73895817fbcf443a346f64dae.tar.gz
tun: port to internal device factorydcbw/internal-device-factories
Diffstat (limited to 'src/devices/nm-device-tun.h')
-rw-r--r--src/devices/nm-device-tun.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/devices/nm-device-tun.h b/src/devices/nm-device-tun.h
index 0ff1db1eca..393c58018f 100644
--- a/src/devices/nm-device-tun.h
+++ b/src/devices/nm-device-tun.h
@@ -41,19 +41,11 @@ G_BEGIN_DECLS
#define NM_DEVICE_TUN_VNET_HDR "vnet-hdr"
#define NM_DEVICE_TUN_MULTI_QUEUE "multi-queue"
-typedef struct {
- NMDeviceGeneric parent;
-} NMDeviceTun;
-
-typedef struct {
- NMDeviceGenericClass parent;
-
-} NMDeviceTunClass;
+typedef NMDeviceGeneric NMDeviceTun;
+typedef NMDeviceGenericClass NMDeviceTunClass;
GType nm_device_tun_get_type (void);
-NMDevice *nm_device_tun_new (NMPlatformLink *platform_device);
-
G_END_DECLS
#endif /* NM_DEVICE_TUN_H */