From 34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 Mon Sep 17 00:00:00 2001
From: Michael Biebl Gets the NMDevices used for the active connections. Whether the active connection is the default IPv4 one (that is, is used for
the default IPv4 route and DNS information). the IPv4 NMIPConfig, or the IPv4 NMIPConfig, or [transfer none] the IPv4 NMDhcpConfig, or the IPv4 NMDhcpConfig, or [transfer none] Whether the active connection is the default IPv6 one (that is, is used for
the default IPv6 route and DNS information). the IPv6 NMIPConfig, or the IPv6 NMIPConfig, or [transfer none] the IPv6 NMDhcpConfig, or the IPv6 NMDhcpConfig, or [transfer none]
-
const GPtrArray *
+ const GPtrArray *
nm_active_connection_get_devices ()
@@ -125,7 +125,7 @@
-gboolean
+gboolean
nm_active_connection_get_default ()
@@ -149,7 +149,7 @@
-gboolean
+gboolean
nm_active_connection_get_default6 ()
@@ -173,7 +173,7 @@
-gboolean
+gboolean
nm_active_connection_get_vpn ()
@@ -204,18 +204,18 @@
Read
-
gboolean
+gboolean
default
Read
-
gboolean
+gboolean
default6
Read
@@ -267,7 +267,7 @@
-GPtrArray *
+GPtrArray *
devices
Read
Read
-
@@ -284,7 +284,7 @@
guint
+guint
state-flags
Read
Read
-
@@ -302,7 +302,7 @@
gboolean
+gboolean
vpn
Read
@@ -391,7 +391,7 @@
void
state-changed
-Run First
+Run First
Object Hierarchy
- GObject
+
GObject
╰── NMObject
╰── NMActiveConnection
╰── NMVpnConnection
@@ -549,7 +549,7 @@ by the connection, and must not be modified.
nm_active_connection_get_devices ()
-const GPtrArray *
+
const GPtrArray *
nm_active_connection_get_devices (
NMActiveConnection *connection);
@@ -717,7 +717,7 @@ deprecated
nm_active_connection_get_default ()
-gboolean
+
gboolean
nm_active_connection_get_default (
NMActiveConnection *connection);
@@ -764,7 +764,7 @@ nm_active_connection_get_ip4_config (
Returns
-NULL if the connection is
+NULL if the connection is
not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Returns
-NULL if the connection
+NULL if the connection
does not use DHCP, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
state.
nm_active_connection_get_default6 ()
-gboolean
+
gboolean
nm_active_connection_get_default6 (
NMActiveConnection *connection);
@@ -849,7 +849,7 @@ nm_active_connection_get_ip6_config (
Returns
-NULL if the connection is
+NULL if the connection is
not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Returns
-NULL if the connection
+NULL if the connection
does not use DHCPv6, or is not in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
state.
gboolean +gboolean nm_active_connection_get_vpn (NMActiveConnection *connection);Whether the active connection is a VPN connection.
The “default” property
- “default” gboolean
+ “default” gboolean
Whether the active connection is the default IPv4 one.
Owner: NMActiveConnection
Flags: Read
@@ -1051,7 +1051,7 @@ nm_active_connection_get_vpn (
The “default6” property
- “default6” gboolean
+ “default6” gboolean
Whether the active connection is the default IPv6 one.
Owner: NMActiveConnection
Flags: Read
@@ -1060,7 +1060,7 @@ nm_active_connection_get_vpn (
The “devices” property
- “devices” GPtrArray *
+ “devices” GPtrArray *
The devices of the active connection.
[type GPtrArray(NMDevice)]
Owner: NMActiveConnection
@@ -1138,7 +1138,7 @@ nm_active_connection_get_vpn (
The “state-flags” property
- “state-flags” guint
+ “state-flags” guint
The state flags of the active connection.
Owner: NMActiveConnection
Flags: Read
@@ -1166,7 +1166,7 @@ nm_active_connection_get_vpn (
The “vpn” property
- “vpn” gboolean
+ “vpn” gboolean
Whether the active connection is a VPN connection.
Owner: NMActiveConnection
Flags: Read
@@ -1179,9 +1179,9 @@ nm_active_connection_get_vpn (The “state-changed” signal
void
user_function (NMActiveConnection *active_connection,
- guint state,
- guint reason,
- gpointer user_data)
+ guint state,
+ guint reason,
+ gpointer user_data)