About
Contact
QtCreator
KDevelop
Solarized
line #s on
1
/* SPDX-License-Identifier: LGPL-2.1-or-later */
2
/*
3
* Copyright (C) 2018 Red Hat, Inc.
4
*/
5
6
#
ifndef
__NM_AUTOPTR_H__
7
#define
__NM_AUTOPTR_H__
8
9
/*
10
* Note that you might use this header with older versions of libnm
11
* that do not yet ship this header. In that case, copy the header
12
* into your source tree.
13
*/
14
15
#include
<glib.h>
16
#include
<NetworkManager.h>
17
18
#
ifdef
G_DEFINE_AUTOPTR_CLEANUP_FUNC
19
20
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMClient
,
g_object_unref
)
21
22
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMAccessPoint
,
g_object_unref
)
23
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMActiveConnection
,
g_object_unref
)
24
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMCheckpoint
,
g_object_unref
)
25
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMConnection
,
g_object_unref
)
26
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDevice
,
g_object_unref
)
27
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDhcpConfig
,
g_object_unref
)
28
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMIPConfig
,
g_object_unref
)
29
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMObject
,
g_object_unref
)
30
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMRemoteConnection
,
g_object_unref
)
31
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSetting
,
g_object_unref
)
32
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSimpleConnection
,
g_object_unref
)
33
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMWifiP2PPeer
,
g_object_unref
)
34
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMWimaxNsp
,
g_object_unref
)
35
36
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDevice6Lowpan
,
g_object_unref
)
37
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceAdsl
,
g_object_unref
)
38
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceBond
,
g_object_unref
)
39
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceBridge
,
g_object_unref
)
40
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceBt
,
g_object_unref
)
41
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceDummy
,
g_object_unref
)
42
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceEthernet
,
g_object_unref
)
43
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceGeneric
,
g_object_unref
)
44
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceIPTunnel
,
g_object_unref
)
45
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceInfiniband
,
g_object_unref
)
46
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceMacsec
,
g_object_unref
)
47
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceMacvlan
,
g_object_unref
)
48
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceModem
,
g_object_unref
)
49
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceOlpcMesh
,
g_object_unref
)
50
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceOvsBridge
,
g_object_unref
)
51
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceOvsInterface
,
g_object_unref
)
52
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceOvsPort
,
g_object_unref
)
53
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDevicePpp
,
g_object_unref
)
54
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceTeam
,
g_object_unref
)
55
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceTun
,
g_object_unref
)
56
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceVeth
,
g_object_unref
)
57
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceVlan
,
g_object_unref
)
58
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceVxlan
,
g_object_unref
)
59
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceWifi
,
g_object_unref
)
60
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceWifiP2P
,
g_object_unref
)
61
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceWimax
,
g_object_unref
)
62
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceWireGuard
,
g_object_unref
)
63
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMDeviceWpan
,
g_object_unref
)
64
65
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSetting6Lowpan
,
g_object_unref
)
66
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSetting8021x
,
g_object_unref
)
67
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingAdsl
,
g_object_unref
)
68
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingBluetooth
,
g_object_unref
)
69
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingBond
,
g_object_unref
)
70
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingBondPort
,
g_object_unref
)
71
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingBridge
,
g_object_unref
)
72
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingBridgePort
,
g_object_unref
)
73
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingCdma
,
g_object_unref
)
74
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingConnection
,
g_object_unref
)
75
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingDcb
,
g_object_unref
)
76
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingDummy
,
g_object_unref
)
77
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingEthtool
,
g_object_unref
)
78
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingGeneric
,
g_object_unref
)
79
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingGsm
,
g_object_unref
)
80
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingIP4Config
,
g_object_unref
)
81
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingIP6Config
,
g_object_unref
)
82
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingIPConfig
,
g_object_unref
)
83
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingIPTunnel
,
g_object_unref
)
84
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingInfiniband
,
g_object_unref
)
85
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingMacsec
,
g_object_unref
)
86
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingMacvlan
,
g_object_unref
)
87
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingMatch
,
g_object_unref
)
88
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingOlpcMesh
,
g_object_unref
)
89
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingOvsBridge
,
g_object_unref
)
90
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingOvsInterface
,
g_object_unref
)
91
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingOvsPatch
,
g_object_unref
)
92
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingOvsPort
,
g_object_unref
)
93
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingPpp
,
g_object_unref
)
94
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingPppoe
,
g_object_unref
)
95
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingProxy
,
g_object_unref
)
96
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingSerial
,
g_object_unref
)
97
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingSriov
,
g_object_unref
)
98
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingTCConfig
,
g_object_unref
)
99
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingTeam
,
g_object_unref
)
100
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingTeamPort
,
g_object_unref
)
101
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingTun
,
g_object_unref
)
102
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingUser
,
g_object_unref
)
103
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingVeth
,
g_object_unref
)
104
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingVlan
,
g_object_unref
)
105
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingVpn
,
g_object_unref
)
106
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingVxlan
,
g_object_unref
)
107
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWifiP2P
,
g_object_unref
)
108
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWimax
,
g_object_unref
)
109
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWired
,
g_object_unref
)
110
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWireGuard
,
g_object_unref
)
111
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWireless
,
g_object_unref
)
112
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWirelessSecurity
,
g_object_unref
)
113
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMSettingWpan
,
g_object_unref
)
114
115
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMVpnConnection
,
g_object_unref
)
116
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMVpnEditor
,
g_object_unref
)
117
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMVpnEditorPlugin
,
g_object_unref
)
118
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMVpnPluginInfo
,
g_object_unref
)
119
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
NMVpnServicePlugin
,
g_object_unref
)
120
121
#
endif
122
123
#
endif
/* __NM_AUTOPTR_H__ */
124
Learn to use CMake with our Intro Training
Find out more