From 2c032d8f1c6292c1338a615e6ec40252889ba85c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Jan 2015 00:29:39 +0100 Subject: Imported Upstream version 1.0.0 --- docs/libnm-glib/html/NMClient.html | 81 ++++++++++++++++++++++++++------------ 1 file changed, 56 insertions(+), 25 deletions(-) (limited to 'docs/libnm-glib/html/NMClient.html') diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index 67de2786..b28d9ed5 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -121,7 +121,7 @@ const gboolean nm_client_wimax_hardware_get_enabled (NMClient *client); const char * nm_client_get_version (NMClient *client); -NMState nm_client_get_state (NMClient *client); +NMState nm_client_get_state (NMClient *client); gboolean nm_client_get_startup (NMClient *client); gboolean nm_client_get_manager_running (NMClient *client); const GPtrArray * nm_client_get_active_connections (NMClient *client); @@ -138,15 +138,15 @@ const const char *level, const char *domains, GError **error); -NMConnectivityState nm_client_get_connectivity (NMClient *client); -NMConnectivityState nm_client_check_connectivity (NMClient *client, +NMConnectivityState nm_client_get_connectivity (NMClient *client); +NMConnectivityState nm_client_check_connectivity (NMClient *client, GCancellable *cancellable, GError **error); void nm_client_check_connectivity_async (NMClient *client, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); -NMConnectivityState nm_client_check_connectivity_finish (NMClient *client, +NMConnectivityState nm_client_check_connectivity_finish (NMClient *client, GAsyncResult *result, GError **error); NMActiveConnection * nm_client_get_primary_connection (NMClient *client); @@ -680,9 +680,9 @@ Gets the result of an const GPtrArray * nm_client_get_devices (NMClient *client);

Gets all the known network devices. Use nm_device_get_type() or the -NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the -returned array is, and then you may use device-specific methods such as -nm_device_ethernet_get_hw_address(). +NM_IS_DEVICE_XXXX functions to determine what kind of +device member of the returned array is, and then you may use device-specific +methods such as nm_device_ethernet_get_hw_address().

@@ -699,7 +699,7 @@ returned array is, and then you may use device-specific methods such as @@ -799,6 +799,12 @@ determine which network to connect to given the settings in connection is not given for a device-based activation, NetworkManager picks the best available connection for the device and activates it.

+

+Note that the callback is invoked when NetworkManager has started activating +the new connection, not when it finishes. You can used the returned +NMActiveConnection object (in particular, "state") to +track the activation to its completion. +

Returns :

a GPtrArray containing all the NMDevices. The returned array is owned by the -NMClient object and should not be modified. [transfer none][element-type NMClient.Device] +NMClient object and should not be modified. [transfer none][element-type NMDevice]
@@ -871,6 +877,12 @@ automatically filling in missing settings with the capabilities of the given device and specific object. The new connection is then activated. Cannot be used for VPN connections at this time.

+

+Note that the callback is invoked when NetworkManager has started activating +the new connection, not when it finishes. You can used the returned +NMActiveConnection object (in particular, "state") to +track the activation to its completion. +

@@ -1266,7 +1278,7 @@ Gets NetworkManager version.

nm_client_get_state ()

-
NMState             nm_client_get_state                 (NMClient *client);
+
NMState             nm_client_get_state                 (NMClient *client);

Gets the current daemon state.

@@ -1283,7 +1295,7 @@ Gets the current daemon state.
- @@ -1364,7 +1376,7 @@ Gets the active connections. @@ -1526,7 +1538,7 @@ domains separated by ",". (

nm_client_get_connectivity ()

-
NMConnectivityState nm_client_get_connectivity          (NMClient *client);
+
NMConnectivityState nm_client_get_connectivity          (NMClient *client);

Gets the current network connectivity state. Contrast nm_client_check_connectivity() and @@ -1555,7 +1567,7 @@ connectivity state first before returning any information.


nm_client_check_connectivity ()

-
NMConnectivityState nm_client_check_connectivity        (NMClient *client,
+
NMConnectivityState nm_client_check_connectivity        (NMClient *client,
                                                          GCancellable *cancellable,
                                                          GError **error);

@@ -1640,7 +1652,7 @@ re-checking, and

nm_client_check_connectivity_finish ()

-
NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
+
NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
                                                          GAsyncResult *result,
                                                          GError **error);

@@ -1763,7 +1775,10 @@ likely to become the new

The "active-connections" property

  "active-connections"       NMObjectArray*        : Read
-

Active connections.

+

+The active connections. +Type: GLib.PtrArray +


@@ -1789,14 +1804,18 @@ List of known network devices.

The "manager-running" property

  "manager-running"          gboolean              : Read
-

Whether NetworkManager is running.

+

+Whether the daemon is running. +

Default value: FALSE


The "networking-enabled" property

  "networking-enabled"       gboolean              : Read / Write
-

Is networking enabled.

+

+Whether networking is enabled. +

Default value: TRUE


@@ -1842,42 +1861,54 @@ The NetworkManager version.

The "wimax-enabled" property

  "wimax-enabled"            gboolean              : Read / Write
-

Is WiMAX enabled.

+

+Whether WiMAX functionality is enabled. +

Default value: FALSE


The "wimax-hardware-enabled" property

  "wimax-hardware-enabled"   gboolean              : Read
-

Is WiMAX hardware enabled.

+

+Whether the WiMAX hardware is enabled. +

Default value: FALSE


The "wireless-enabled" property

  "wireless-enabled"         gboolean              : Read / Write
-

Is wireless enabled.

+

+Whether wireless is enabled. +

Default value: FALSE


The "wireless-hardware-enabled" property

  "wireless-hardware-enabled" gboolean              : Read
-

Is wireless hardware enabled.

+

+Whether the wireless hardware is enabled. +

Default value: TRUE


The "wwan-enabled" property

  "wwan-enabled"             gboolean              : Read / Write
-

Is WWAN enabled.

+

+Whether WWAN functionality is enabled. +

Default value: FALSE


The "wwan-hardware-enabled" property

  "wwan-hardware-enabled"    gboolean              : Read
-

Is WWAN hardware enabled.

+

+Whether the WWAN hardware is enabled. +

Default value: FALSE

@@ -1903,7 +1934,7 @@ Notifies that a - @@ -1934,7 +1965,7 @@ Notifies that a - -- cgit 1.3.0-6-gf8a5

Returns :

the current NMState +the current NMState

Returns :

a GPtrArray containing all the active NMActiveConnections. -The returned array is owned by the client and should not be modified. [transfer none][element-type NMClient.ActiveConnection] +The returned array is owned by the client and should not be modified. [transfer none][element-type NMActiveConnection]

device :

the new device. [type NMClient.Device] +the new device. [type NMDevice]

device :

the removed device. [type NMClient.Device] +the removed device. [type NMDevice]