mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 19:00:11 +01:00
merge: branch 'lr/gtkdoc'
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1211
This commit is contained in:
commit
6525e8a7d7
59 changed files with 97 additions and 144 deletions
|
|
@ -1691,7 +1691,6 @@ libnm_lib_h_pub_real = \
|
|||
src/libnm-client-public/nm-object.h \
|
||||
src/libnm-client-public/nm-remote-connection.h \
|
||||
src/libnm-client-public/nm-secret-agent-old.h \
|
||||
src/libnm-client-public/nm-types.h \
|
||||
src/libnm-client-public/nm-vpn-connection.h \
|
||||
src/libnm-client-public/nm-vpn-editor.h \
|
||||
src/libnm-client-public/nm-vpn-plugin-old.h \
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
#include "nm-checkpoint.h"
|
||||
#include "libnm-core-intern/nm-core-internal.h"
|
||||
#include "nm-dbus-helpers.h"
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
#include "nm-device-6lowpan.h"
|
||||
#include "nm-device-adsl.h"
|
||||
#include "nm-device-bond.h"
|
||||
|
|
@ -33,7 +34,6 @@
|
|||
#include "nm-device-macsec.h"
|
||||
#include "nm-device-macvlan.h"
|
||||
#include "nm-device-modem.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
#include "nm-device-ovs-bridge.h"
|
||||
#include "nm-device-ovs-interface.h"
|
||||
#include "nm-device-ovs-port.h"
|
||||
|
|
@ -46,6 +46,7 @@
|
|||
#include "nm-device-wifi.h"
|
||||
#include "nm-device-wireguard.h"
|
||||
#include "nm-device-wpan.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
#include "nm-dhcp-config.h"
|
||||
#include "nm-dhcp4-config.h"
|
||||
#include "nm-dhcp6-config.h"
|
||||
|
|
@ -56,7 +57,6 @@
|
|||
#include "nm-remote-connection.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-vpn-connection.h"
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
@ -8399,9 +8399,9 @@ nm_client_class_init(NMClientClass *client_class)
|
|||
*
|
||||
* Whether a connectivity checking service has been enabled.
|
||||
*
|
||||
* Since: 1.10
|
||||
*
|
||||
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
|
||||
*
|
||||
* Since: 1.10
|
||||
*/
|
||||
obj_properties[PROP_CONNECTIVITY_CHECK_ENABLED] =
|
||||
g_param_spec_boolean(NM_CLIENT_CONNECTIVITY_CHECK_ENABLED,
|
||||
|
|
@ -8729,7 +8729,7 @@ nm_client_class_init(NMClientClass *client_class)
|
|||
G_TYPE_UINT);
|
||||
/**
|
||||
* NMClient::connection-added:
|
||||
* @client: the settings object that received the signal
|
||||
* @client: the client that received the signal
|
||||
* @connection: the new connection
|
||||
*
|
||||
* Notifies that a #NMConnection has been added.
|
||||
|
|
@ -8747,7 +8747,7 @@ nm_client_class_init(NMClientClass *client_class)
|
|||
|
||||
/**
|
||||
* NMClient::connection-removed:
|
||||
* @client: the settings object that received the signal
|
||||
* @client: the client that received the signal
|
||||
* @connection: the removed connection
|
||||
*
|
||||
* Notifies that a #NMConnection has been removed.
|
||||
|
|
@ -8765,7 +8765,7 @@ nm_client_class_init(NMClientClass *client_class)
|
|||
|
||||
/**
|
||||
* NMClient::active-connection-added:
|
||||
* @client: the settings object that received the signal
|
||||
* @client: the client that received the signal
|
||||
* @active_connection: the new active connection
|
||||
*
|
||||
* Notifies that a #NMActiveConnection has been added.
|
||||
|
|
@ -8783,7 +8783,7 @@ nm_client_class_init(NMClientClass *client_class)
|
|||
|
||||
/**
|
||||
* NMClient::active-connection-removed:
|
||||
* @client: the settings object that received the signal
|
||||
* @client: the client that received the signal
|
||||
* @active_connection: the removed active connection
|
||||
*
|
||||
* Notifies that a #NMActiveConnection has been removed.
|
||||
|
|
|
|||
|
|
@ -16,6 +16,16 @@
|
|||
/*****************************************************************************/
|
||||
|
||||
#include "nm-version.h"
|
||||
#include "nm-dbus-interface.h"
|
||||
#include "nm-dhcp-config.h"
|
||||
#include "nm-ip-config.h"
|
||||
#include "nm-connection.h"
|
||||
#include "nm-remote-connection.h"
|
||||
#include "nm-active-connection.h"
|
||||
#include "nm-device.h"
|
||||
#include "nm-checkpoint.h"
|
||||
#include "nm-client.h"
|
||||
#include "nm-vpn-connection.h"
|
||||
#include "nm-libnm-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -120,11 +120,11 @@ nm_device_macvlan_get_tap(NMDeviceMacvlan *device)
|
|||
* Returns: the hardware address. This is the internal string used by the
|
||||
* device, and must not be modified.
|
||||
*
|
||||
* Since: 1.2
|
||||
*
|
||||
* This property is not implemented yet, and the function always return NULL.
|
||||
*
|
||||
* Deprecated: 1.24: Use nm_device_get_hw_address() instead.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
const char *
|
||||
nm_device_macvlan_get_hw_address(NMDeviceMacvlan *device)
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
|
||||
#include "libnm-client-impl/nm-default-libnm.h"
|
||||
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-device-wifi.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
|
||||
#include "nm-setting-connection.h"
|
||||
#include "nm-setting-olpc-mesh.h"
|
||||
#include "nm-object-private.h"
|
||||
#include "nm-device-wifi.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -96,10 +96,10 @@ nm_device_vxlan_get_hw_address(NMDeviceVxlan *device)
|
|||
*
|
||||
* Returns: %TRUE if the device has carrier.
|
||||
*
|
||||
* Since: 1.2
|
||||
*
|
||||
* This property is not implemented yet, and the function always returns
|
||||
* FALSE.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
gboolean
|
||||
nm_device_vxlan_get_carrier(NMDeviceVxlan *device)
|
||||
|
|
@ -541,9 +541,9 @@ nm_device_vxlan_class_init(NMDeviceVxlanClass *klass)
|
|||
*
|
||||
* Whether the device has carrier.
|
||||
*
|
||||
* Since: 1.2
|
||||
*
|
||||
* This property is not implemented yet, and the property is always FALSE.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
obj_properties[PROP_CARRIER] = g_param_spec_boolean(NM_DEVICE_VXLAN_CARRIER,
|
||||
"",
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
#include "libnm-client-impl/nm-default-libnm.h"
|
||||
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
#include "nm-device-wifi-p2p.h"
|
||||
|
||||
#include "libnm-glib-aux/nm-dbus-aux.h"
|
||||
#include "nm-setting-connection.h"
|
||||
#include "nm-setting-wifi-p2p.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
#include "nm-object-private.h"
|
||||
#include "libnm-core-intern/nm-core-internal.h"
|
||||
#include "nm-dbus-helpers.h"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "libnm-client-impl/nm-default-libnm.h"
|
||||
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-device-wifi.h"
|
||||
|
||||
#include <linux/if_ether.h>
|
||||
|
|
@ -15,7 +16,6 @@
|
|||
#include "nm-setting-wireless.h"
|
||||
#include "nm-setting-wireless-security.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-object-private.h"
|
||||
#include "libnm-core-intern/nm-core-internal.h"
|
||||
#include "nm-dbus-helpers.h"
|
||||
|
|
|
|||
|
|
@ -6,9 +6,8 @@
|
|||
|
||||
#include "libnm-client-impl/nm-default-libnm.h"
|
||||
|
||||
#include "nm-device-wimax.h"
|
||||
|
||||
#include "nm-wimax-nsp.h"
|
||||
#include "nm-device-wimax.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,8 @@
|
|||
#define __NM_LIBNM_UTILS_H__
|
||||
|
||||
#include "c-list/src/c-list.h"
|
||||
#include "nm-device.h"
|
||||
#include "libnm-glib-aux/nm-ref-string.h"
|
||||
#include "libnm-glib-aux/nm-logging-fwd.h"
|
||||
#include "nm-types.h"
|
||||
#include "nm-object.h"
|
||||
#include "nm-client.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,21 @@
|
|||
|
||||
#define __NETWORKMANAGER_H_INSIDE__
|
||||
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-active-connection.h"
|
||||
#include "nm-client.h"
|
||||
#include "nm-connection.h"
|
||||
#include "nm-core-enum-types.h"
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "nm-version.h"
|
||||
#include "nm-dbus-interface.h"
|
||||
#include "nm-dhcp-config.h"
|
||||
#include "nm-ip-config.h"
|
||||
#include "nm-remote-connection.h"
|
||||
#include "nm-active-connection.h"
|
||||
#include "nm-checkpoint.h"
|
||||
#include "nm-connection.h"
|
||||
#include "nm-client.h"
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-core-enum-types.h"
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
#include "nm-wimax-nsp.h"
|
||||
#include "nm-device-6lowpan.h"
|
||||
#include "nm-device-adsl.h"
|
||||
#include "nm-device-bond.h"
|
||||
|
|
@ -27,7 +36,6 @@
|
|||
#include "nm-device-macsec.h"
|
||||
#include "nm-device-macvlan.h"
|
||||
#include "nm-device-modem.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
#include "nm-device-ovs-bridge.h"
|
||||
#include "nm-device-ovs-interface.h"
|
||||
#include "nm-device-ovs-port.h"
|
||||
|
|
@ -37,19 +45,17 @@
|
|||
#include "nm-device-veth.h"
|
||||
#include "nm-device-vlan.h"
|
||||
#include "nm-device-vxlan.h"
|
||||
#include "nm-device-wifi-p2p.h"
|
||||
#include "nm-device-wifi.h"
|
||||
#include "nm-device-wifi-p2p.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
#include "nm-device-wimax.h"
|
||||
#include "nm-device-wireguard.h"
|
||||
#include "nm-device-wpan.h"
|
||||
#include "nm-device.h"
|
||||
#include "nm-dhcp-config.h"
|
||||
#include "nm-enum-types.h"
|
||||
#include "nm-ethtool-utils.h"
|
||||
#include "nm-ip-config.h"
|
||||
#include "nm-keyfile.h"
|
||||
#include "nm-object.h"
|
||||
#include "nm-remote-connection.h"
|
||||
#include "nm-setting-6lowpan.h"
|
||||
#include "nm-setting-8021x.h"
|
||||
#include "nm-setting-adsl.h"
|
||||
|
|
@ -105,15 +111,12 @@
|
|||
#include "nm-setting.h"
|
||||
#include "nm-simple-connection.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-version.h"
|
||||
#include "nm-vpn-connection.h"
|
||||
#include "nm-vpn-dbus-interface.h"
|
||||
#include "nm-vpn-editor.h"
|
||||
#include "nm-vpn-editor-plugin.h"
|
||||
#include "nm-vpn-plugin-info.h"
|
||||
#include "nm-vpn-service-plugin.h"
|
||||
#include "nm-wifi-p2p-peer.h"
|
||||
#include "nm-wimax-nsp.h"
|
||||
|
||||
#include "nm-autoptr.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ libnm_client_headers = files(
|
|||
'nm-object.h',
|
||||
'nm-remote-connection.h',
|
||||
'nm-secret-agent-old.h',
|
||||
'nm-types.h',
|
||||
'nm-vpn-connection.h',
|
||||
'nm-vpn-editor.h',
|
||||
'nm-vpn-plugin-old.h',
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMAccessPoint:
|
||||
*/
|
||||
typedef struct _NMAccessPoint NMAccessPoint;
|
||||
typedef struct _NMAccessPointClass NMAccessPointClass;
|
||||
|
||||
GType nm_access_point_get_type(void);
|
||||
|
|
|
|||
|
|
@ -43,9 +43,12 @@ G_BEGIN_DECLS
|
|||
#define NM_ACTIVE_CONNECTION_VPN "vpn"
|
||||
#define NM_ACTIVE_CONNECTION_MASTER "master"
|
||||
|
||||
typedef struct _NMDevice NMDevice;
|
||||
|
||||
/**
|
||||
* NMActiveConnection:
|
||||
*/
|
||||
typedef struct _NMActiveConnection NMActiveConnection;
|
||||
typedef struct _NMActiveConnectionClass NMActiveConnectionClass;
|
||||
|
||||
GType nm_active_connection_get_type(void);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMCheckpoint:
|
||||
*/
|
||||
typedef struct _NMCheckpoint NMCheckpoint;
|
||||
typedef struct _NMCheckpointClass NMCheckpointClass;
|
||||
|
||||
GType nm_checkpoint_get_type(void);
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@
|
|||
#error "Only <NetworkManager.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include "nm-types.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
|
|
@ -148,6 +146,7 @@ gboolean nm_dns_entry_get_vpn(NMDnsEntry *entry);
|
|||
* D-Bus signals gets processed and the #NMClient instance updates and
|
||||
* emits #GObject signals.
|
||||
*/
|
||||
typedef struct _NMClient NMClient;
|
||||
typedef struct _NMClientClass NMClientClass;
|
||||
|
||||
GType nm_client_get_type(void);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDevice6Lowpan:
|
||||
*/
|
||||
typedef struct _NMDevice6Lowpan NMDevice6Lowpan;
|
||||
typedef struct _NMDevice6LowpanClass NMDevice6LowpanClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_14
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceAdsl:
|
||||
*/
|
||||
typedef struct _NMDeviceAdsl NMDeviceAdsl;
|
||||
typedef struct _NMDeviceAdslClass NMDeviceAdslClass;
|
||||
|
||||
GType nm_device_adsl_get_type(void);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceBond:
|
||||
*/
|
||||
typedef struct _NMDeviceBond NMDeviceBond;
|
||||
typedef struct _NMDeviceBondClass NMDeviceBondClass;
|
||||
|
||||
GType nm_device_bond_get_type(void);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceBridge:
|
||||
*/
|
||||
typedef struct _NMDeviceBridge NMDeviceBridge;
|
||||
typedef struct _NMDeviceBridgeClass NMDeviceBridgeClass;
|
||||
|
||||
GType nm_device_bridge_get_type(void);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceBt:
|
||||
*/
|
||||
typedef struct _NMDeviceBt NMDeviceBt;
|
||||
typedef struct _NMDeviceBtClass NMDeviceBtClass;
|
||||
|
||||
GType nm_device_bt_get_type(void);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceDummy:
|
||||
*/
|
||||
typedef struct _NMDeviceDummy NMDeviceDummy;
|
||||
typedef struct _NMDeviceDummyClass NMDeviceDummyClass;
|
||||
|
||||
GType nm_device_dummy_get_type(void);
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceEthernet:
|
||||
*/
|
||||
typedef struct _NMDeviceEthernet NMDeviceEthernet;
|
||||
typedef struct _NMDeviceEthernetClass NMDeviceEthernetClass;
|
||||
|
||||
GType nm_device_ethernet_get_type(void);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceGeneric:
|
||||
*/
|
||||
typedef struct _NMDeviceGeneric NMDeviceGeneric;
|
||||
typedef struct _NMDeviceGenericClass NMDeviceGenericClass;
|
||||
|
||||
GType nm_device_generic_get_type(void);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceInfiniband:
|
||||
*/
|
||||
typedef struct _NMDeviceInfiniband NMDeviceInfiniband;
|
||||
typedef struct _NMDeviceInfinibandClass NMDeviceInfinibandClass;
|
||||
|
||||
GType nm_device_infiniband_get_type(void);
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceIPTunnel:
|
||||
*/
|
||||
typedef struct _NMDeviceIPTunnel NMDeviceIPTunnel;
|
||||
typedef struct _NMDeviceIPTunnelClass NMDeviceIPTunnelClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceMacsec:
|
||||
*/
|
||||
typedef struct _NMDeviceMacsec NMDeviceMacsec;
|
||||
typedef struct _NMDeviceMacsecClass NMDeviceMacsecClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_6
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceMacvlan:
|
||||
*/
|
||||
typedef struct _NMDeviceMacvlan NMDeviceMacvlan;
|
||||
typedef struct _NMDeviceMacvlanClass NMDeviceMacvlanClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceModem:
|
||||
*/
|
||||
typedef struct _NMDeviceModem NMDeviceModem;
|
||||
typedef struct _NMDeviceModemClass NMDeviceModemClass;
|
||||
|
||||
GType nm_device_modem_get_type(void);
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceOlpcMesh:
|
||||
*/
|
||||
typedef struct _NMDeviceOlpcMesh NMDeviceOlpcMesh;
|
||||
typedef struct _NMDeviceOlpcMeshClass NMDeviceOlpcMeshClass;
|
||||
|
||||
GType nm_device_olpc_mesh_get_type(void);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceOvsBridge:
|
||||
*/
|
||||
typedef struct _NMDeviceOvsBridge NMDeviceOvsBridge;
|
||||
typedef struct _NMDeviceOvsBridgeClass NMDeviceOvsBridgeClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_10
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceOvsInterface:
|
||||
*/
|
||||
typedef struct _NMDeviceOvsInterface NMDeviceOvsInterface;
|
||||
typedef struct _NMDeviceOvsInterfaceClass NMDeviceOvsInterfaceClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_10
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceOvsPort:
|
||||
*/
|
||||
typedef struct _NMDeviceOvsPort NMDeviceOvsPort;
|
||||
typedef struct _NMDeviceOvsPortClass NMDeviceOvsPortClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_10
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDevicePpp:
|
||||
*/
|
||||
typedef struct _NMDevicePpp NMDevicePpp;
|
||||
typedef struct _NMDevicePppClass NMDevicePppClass;
|
||||
|
||||
GType nm_device_ppp_get_type(void);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceTeam:
|
||||
*/
|
||||
typedef struct _NMDeviceTeam NMDeviceTeam;
|
||||
typedef struct _NMDeviceTeamClass NMDeviceTeamClass;
|
||||
|
||||
GType nm_device_team_get_type(void);
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceTun:
|
||||
*/
|
||||
typedef struct _NMDeviceTun NMDeviceTun;
|
||||
typedef struct _NMDeviceTunClass NMDeviceTunClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceVeth:
|
||||
*/
|
||||
typedef struct _NMDeviceVeth NMDeviceVeth;
|
||||
typedef struct _NMDeviceVethClass NMDeviceVethClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_30
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceVlan:
|
||||
*/
|
||||
typedef struct _NMDeviceVlan NMDeviceVlan;
|
||||
typedef struct _NMDeviceVlanClass NMDeviceVlanClass;
|
||||
|
||||
GType nm_device_vlan_get_type(void);
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceVrf:
|
||||
*/
|
||||
typedef struct _NMDeviceVrf NMDeviceVrf;
|
||||
typedef struct _NMDeviceVrfClass NMDeviceVrfClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_24
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceVxlan:
|
||||
*/
|
||||
typedef struct _NMDeviceVxlan NMDeviceVxlan;
|
||||
typedef struct _NMDeviceVxlanClass NMDeviceVxlanClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Since: 1.16
|
||||
*/
|
||||
typedef struct _NMDeviceWifiP2P NMDeviceWifiP2P;
|
||||
typedef struct _NMDeviceWifiP2PClass NMDeviceWifiP2PClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_16
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceWifi:
|
||||
*/
|
||||
typedef struct _NMDeviceWifi NMDeviceWifi;
|
||||
typedef struct _NMDeviceWifiClass NMDeviceWifiClass;
|
||||
|
||||
GType nm_device_wifi_get_type(void);
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Deprecated: 1.22: WiMAX is no longer supported by NetworkManager since 1.2.0.
|
||||
*/
|
||||
typedef struct _NMDeviceWimax NMDeviceWimax;
|
||||
typedef struct _NMDeviceWimaxClass NMDeviceWimaxClass;
|
||||
|
||||
NM_DEPRECATED_IN_1_2
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceWireGuard:
|
||||
*/
|
||||
typedef struct _NMDeviceWireGuard NMDeviceWireGuard;
|
||||
typedef struct _NMDeviceWireGuardClass NMDeviceWireGuardClass;
|
||||
|
||||
#define NM_DEVICE_WIREGUARD_PUBLIC_KEY "public-key"
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDeviceWpan:
|
||||
*/
|
||||
typedef struct _NMDeviceWpan NMDeviceWpan;
|
||||
typedef struct _NMDeviceWpanClass NMDeviceWpanClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_14
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ _NM_DEPRECATED_SYNC_WRITABLE_PROPERTY
|
|||
/**
|
||||
* NMDevice:
|
||||
*/
|
||||
typedef struct _NMDevice NMDevice;
|
||||
typedef struct _NMDeviceClass NMDeviceClass;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMDhcpConfig:
|
||||
*/
|
||||
typedef struct _NMDhcpConfig NMDhcpConfig;
|
||||
typedef struct _NMDhcpConfigClass NMDhcpConfigClass;
|
||||
|
||||
#define NM_DHCP_CONFIG_FAMILY "family"
|
||||
|
|
|
|||
|
|
@ -5,45 +5,9 @@
|
|||
|
||||
#include "nm-version-macros.h"
|
||||
#include "NetworkManager.h"
|
||||
#include "nm-access-point.h"
|
||||
#include "nm-active-connection.h"
|
||||
#include "nm-checkpoint.h"
|
||||
#include "nm-client.h"
|
||||
#include "nm-device-adsl.h"
|
||||
#include "nm-device-bond.h"
|
||||
#include "nm-device-bridge.h"
|
||||
#include "nm-device-bt.h"
|
||||
#include "nm-device-dummy.h"
|
||||
#include "nm-device-ethernet.h"
|
||||
#include "nm-device-generic.h"
|
||||
#include "nm-device-infiniband.h"
|
||||
#include "nm-device-ip-tunnel.h"
|
||||
#include "nm-device-macsec.h"
|
||||
#include "nm-device-macvlan.h"
|
||||
#include "nm-device-modem.h"
|
||||
#include "nm-device-olpc-mesh.h"
|
||||
#include "nm-device-ovs-interface.h"
|
||||
#include "nm-device-ovs-port.h"
|
||||
#include "nm-device-ovs-bridge.h"
|
||||
#include "nm-device-ppp.h"
|
||||
#include "nm-device-team.h"
|
||||
#include "nm-device-tun.h"
|
||||
#include "nm-device-vlan.h"
|
||||
#include "nm-device-vxlan.h"
|
||||
#include "nm-device-wifi.h"
|
||||
#include "nm-device-wimax.h"
|
||||
#include "nm-device.h"
|
||||
#include "nm-dhcp-config.h"
|
||||
#include "nm-ip-config.h"
|
||||
#include "nm-object.h"
|
||||
#include "nm-remote-connection.h"
|
||||
#include "nm-types.h"
|
||||
#include "nm-vpn-connection.h"
|
||||
#include "nm-vpn-editor.h"
|
||||
#include "nm-wimax-nsp.h"
|
||||
#include "nm-secret-agent-old.h"
|
||||
#include "nm-vpn-plugin-old.h"
|
||||
#include "nm-vpn-service-plugin.h"
|
||||
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMIPConfig:
|
||||
*/
|
||||
typedef struct _NMIPConfig NMIPConfig;
|
||||
typedef struct _NMIPConfigClass NMIPConfigClass;
|
||||
|
||||
#define NM_IP_CONFIG_FAMILY "family"
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@
|
|||
#error "Only <NetworkManager.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include "nm-types.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define NM_TYPE_OBJECT (nm_object_get_type())
|
||||
|
|
@ -25,9 +23,12 @@ G_BEGIN_DECLS
|
|||
#define NM_OBJECT_PATH "path"
|
||||
#define NM_OBJECT_CLIENT "client"
|
||||
|
||||
typedef struct _NMClient NMClient;
|
||||
|
||||
/**
|
||||
* NMObject:
|
||||
*/
|
||||
typedef struct _NMObject NMObject;
|
||||
typedef struct _NMObjectClass NMObjectClass;
|
||||
|
||||
GType nm_object_get_type(void);
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMRemoteConnection:
|
||||
*/
|
||||
typedef struct _NMRemoteConnection NMRemoteConnection;
|
||||
typedef struct _NMRemoteConnectionClass NMRemoteConnectionClass;
|
||||
|
||||
GType nm_remote_connection_get_type(void);
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef __NM_SECRET_AGENT_OLD_H__
|
||||
#define __NM_SECRET_AGENT_OLD_H__
|
||||
|
||||
#include "nm-types.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define NM_TYPE_SECRET_AGENT_OLD (nm_secret_agent_old_get_type())
|
||||
|
|
|
|||
|
|
@ -1,56 +0,0 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
/*
|
||||
* Copyright (C) 2014 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#ifndef __NM_TYPES_H__
|
||||
#define __NM_TYPES_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "nm-dbus-interface.h"
|
||||
#include "nm-connection.h"
|
||||
|
||||
typedef struct _NMAccessPoint NMAccessPoint;
|
||||
typedef struct _NMActiveConnection NMActiveConnection;
|
||||
typedef struct _NMCheckpoint NMCheckpoint;
|
||||
typedef struct _NMClient NMClient;
|
||||
typedef struct _NMDevice NMDevice;
|
||||
typedef struct _NMDevice6Lowpan NMDevice6Lowpan;
|
||||
typedef struct _NMDeviceAdsl NMDeviceAdsl;
|
||||
typedef struct _NMDeviceBond NMDeviceBond;
|
||||
typedef struct _NMDeviceBridge NMDeviceBridge;
|
||||
typedef struct _NMDeviceBt NMDeviceBt;
|
||||
typedef struct _NMDeviceDummy NMDeviceDummy;
|
||||
typedef struct _NMDeviceEthernet NMDeviceEthernet;
|
||||
typedef struct _NMDeviceGeneric NMDeviceGeneric;
|
||||
typedef struct _NMDeviceIPTunnel NMDeviceIPTunnel;
|
||||
typedef struct _NMDeviceInfiniband NMDeviceInfiniband;
|
||||
typedef struct _NMDeviceMacsec NMDeviceMacsec;
|
||||
typedef struct _NMDeviceMacvlan NMDeviceMacvlan;
|
||||
typedef struct _NMDeviceModem NMDeviceModem;
|
||||
typedef struct _NMDeviceOlpcMesh NMDeviceOlpcMesh;
|
||||
typedef struct _NMDeviceOvsBridge NMDeviceOvsBridge;
|
||||
typedef struct _NMDeviceOvsInterface NMDeviceOvsInterface;
|
||||
typedef struct _NMDeviceOvsPort NMDeviceOvsPort;
|
||||
typedef struct _NMDevicePpp NMDevicePpp;
|
||||
typedef struct _NMDeviceTeam NMDeviceTeam;
|
||||
typedef struct _NMDeviceTun NMDeviceTun;
|
||||
typedef struct _NMDeviceVeth NMDeviceVeth;
|
||||
typedef struct _NMDeviceVlan NMDeviceVlan;
|
||||
typedef struct _NMDeviceVrf NMDeviceVrf;
|
||||
typedef struct _NMDeviceVxlan NMDeviceVxlan;
|
||||
typedef struct _NMDeviceWifi NMDeviceWifi;
|
||||
typedef struct _NMDeviceWifiP2P NMDeviceWifiP2P;
|
||||
typedef struct _NMDeviceWimax NMDeviceWimax;
|
||||
typedef struct _NMDeviceWireGuard NMDeviceWireGuard;
|
||||
typedef struct _NMDeviceWpan NMDeviceWpan;
|
||||
typedef struct _NMDhcpConfig NMDhcpConfig;
|
||||
typedef struct _NMIPConfig NMIPConfig;
|
||||
typedef struct _NMObject NMObject;
|
||||
typedef struct _NMRemoteConnection NMRemoteConnection;
|
||||
typedef struct _NMVpnConnection NMVpnConnection;
|
||||
typedef struct _NMWifiP2PPeer NMWifiP2PPeer;
|
||||
typedef struct _NMWimaxNsp NMWimaxNsp;
|
||||
|
||||
#endif /* NM_TYPES_H */
|
||||
|
|
@ -32,6 +32,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMVpnConnection:
|
||||
*/
|
||||
typedef struct _NMVpnConnection NMVpnConnection;
|
||||
typedef struct _NMVpnConnectionClass NMVpnConnectionClass;
|
||||
|
||||
GType nm_vpn_connection_get_type(void);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include "nm-types.h"
|
||||
|
||||
#include "nm-vpn-editor-plugin.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ G_BEGIN_DECLS
|
|||
/**
|
||||
* NMWifiP2PPeer:
|
||||
*/
|
||||
typedef struct _NMWifiP2PPeer NMWifiP2PPeer;
|
||||
typedef struct _NMWifiP2PPeerClass NMWifiP2PPeerClass;
|
||||
|
||||
NM_AVAILABLE_IN_1_16
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Deprecated: 1.22: WiMAX is no longer supported by NetworkManager since 1.2.0.
|
||||
*/
|
||||
typedef struct _NMWimaxNsp NMWimaxNsp;
|
||||
typedef struct _NMWimaxNspClass NMWimaxNspClass;
|
||||
|
||||
GType nm_wimax_nsp_get_type(void);
|
||||
|
|
|
|||
|
|
@ -45,11 +45,11 @@ get_variant_type_from_ethtool_id(NMEthtoolID ethtool_id)
|
|||
*
|
||||
* %Returns: %TRUE, if @optname is valid
|
||||
*
|
||||
* Since: 1.20
|
||||
*
|
||||
* Note that nm_ethtool_optname_is_feature() was first added to the libnm header files
|
||||
* in 1.14.0 but forgot to actually add to the library. This happened belatedly in 1.20.0 and
|
||||
* the stable versions 1.18.2, 1.16.4 and 1.14.8 (with linker version "libnm_1_14_8").
|
||||
*
|
||||
* Since: 1.20
|
||||
*/
|
||||
gboolean
|
||||
nm_ethtool_optname_is_feature(const char *optname)
|
||||
|
|
|
|||
|
|
@ -2481,10 +2481,10 @@ nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppr
|
|||
*
|
||||
* Returns: %TRUE if a uid range is set.
|
||||
*
|
||||
* Since: 1.34
|
||||
*
|
||||
* This API was wrongly introduced in the header files for 1.32, but the
|
||||
* symbols were not exported. The API only works since 1.34 and newer.
|
||||
*
|
||||
* Since: 1.34
|
||||
*/
|
||||
gboolean
|
||||
nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
|
||||
|
|
@ -2509,10 +2509,10 @@ nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
|
|||
* For a valid range, start must be less or equal to end.
|
||||
* If set to an invalid range, the range gets unset.
|
||||
*
|
||||
* Since: 1.34
|
||||
*
|
||||
* This API was wrongly introduced in the header files for 1.32, but the
|
||||
* symbols were not exported. The API only works since 1.34 and newer.
|
||||
*
|
||||
* Since: 1.34
|
||||
*/
|
||||
void
|
||||
nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue