From afcd268ea7b1149fbfb66bce4eca659b675da0a2 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 12 Dec 2017 15:53:07 +0100 Subject: New upstream version 1.10.2 --- docs/libnm/html/NMClient.html | 678 +++++++++++++++++++++--------------------- 1 file changed, 339 insertions(+), 339 deletions(-) (limited to 'docs/libnm/html/NMClient.html') diff --git a/docs/libnm/html/NMClient.html b/docs/libnm/html/NMClient.html index a2fbf00e..401a1156 100644 --- a/docs/libnm/html/NMClient.html +++ b/docs/libnm/html/NMClient.html @@ -8,7 +8,7 @@ - + @@ -45,7 +45,7 @@ -GQuark +GQuark nm_client_error_quark () @@ -90,7 +90,7 @@ -gboolean +gboolean nm_dns_entry_get_vpn () @@ -137,7 +137,7 @@ -gboolean +gboolean nm_client_get_startup () @@ -145,7 +145,7 @@ -gboolean +gboolean nm_client_get_nm_running () @@ -153,7 +153,7 @@ -gboolean +gboolean nm_client_networking_get_enabled () @@ -161,7 +161,7 @@ -gboolean +gboolean nm_client_networking_set_enabled () @@ -169,7 +169,7 @@ -gboolean +gboolean nm_client_wireless_get_enabled () @@ -185,7 +185,7 @@ -gboolean +gboolean nm_client_wireless_hardware_get_enabled () @@ -193,7 +193,7 @@ -gboolean +gboolean nm_client_wwan_get_enabled () @@ -209,7 +209,7 @@ -gboolean +gboolean nm_client_wwan_hardware_get_enabled () @@ -217,7 +217,7 @@ -gboolean +gboolean nm_client_wimax_get_enabled () @@ -233,7 +233,7 @@ -gboolean +gboolean nm_client_wimax_hardware_get_enabled () @@ -241,7 +241,7 @@ -gboolean +gboolean nm_client_connectivity_check_get_available () @@ -249,7 +249,7 @@ -gboolean +gboolean nm_client_connectivity_check_get_enabled () @@ -265,7 +265,7 @@ -gboolean +gboolean nm_client_get_logging () @@ -273,7 +273,7 @@ -gboolean +gboolean nm_client_set_logging () @@ -321,7 +321,7 @@ -gboolean +gboolean nm_client_save_hostname () @@ -337,21 +337,21 @@ -gboolean +gboolean nm_client_save_hostname_finish () -const GPtrArray * +const GPtrArray * nm_client_get_devices () -const GPtrArray * +const GPtrArray * nm_client_get_all_devices () @@ -374,7 +374,7 @@ -const GPtrArray * +const GPtrArray * nm_client_get_active_connections () @@ -430,7 +430,7 @@ -gboolean +gboolean nm_client_deactivate_connection () @@ -446,14 +446,14 @@ -gboolean +gboolean nm_client_deactivate_connection_finish () -const GPtrArray * +const GPtrArray * nm_client_get_connections () @@ -501,7 +501,7 @@ -gboolean +gboolean nm_client_load_connections () @@ -517,7 +517,7 @@ -gboolean +gboolean nm_client_load_connections_finish () @@ -525,7 +525,7 @@ -gboolean +gboolean nm_client_reload_connections () @@ -541,7 +541,7 @@ -gboolean +gboolean nm_client_reload_connections_finish () @@ -562,7 +562,7 @@ -const GPtrArray * +const GPtrArray * nm_client_get_dns_configuration () @@ -588,24 +588,24 @@ -GPtrArray * +GPtrArray * active-connections Read -GPtrArray * +GPtrArray * all-devices Read -gboolean +gboolean can-modify Read -GPtrArray * +GPtrArray * connections Read @@ -615,57 +615,57 @@ Read -gboolean +gboolean connectivity-check-available Read -gboolean +gboolean connectivity-check-enabled Read / Write -GPtrArray * +GPtrArray * devices Read -GPtrArray * +GPtrArray * dns-configuration Read -gchar * +gchar * dns-mode Read -gchar * +gchar * dns-rc-manager Read -gchar * +gchar * hostname Read -guint +guint metered Read -gboolean +gboolean networking-enabled Read / Write -gboolean +gboolean nm-running Read @@ -676,7 +676,7 @@ Read -gboolean +gboolean startup Read @@ -687,37 +687,37 @@ -gchar * +gchar * version Read -gboolean +gboolean wimax-enabled Read / Write -gboolean +gboolean wimax-hardware-enabled Read -gboolean +gboolean wireless-enabled Read / Write -gboolean +gboolean wireless-hardware-enabled Read -gboolean +gboolean wwan-enabled Read / Write -gboolean +gboolean wwan-hardware-enabled Read @@ -736,47 +736,47 @@ void active-connection-added -Run First +Run First void active-connection-removed -Run First +Run First void any-device-added -Run First +Run First void any-device-removed -Run First +Run First void connection-added -Run First +Run First void connection-removed -Run First +Run First void device-added -Run First +Run First void device-removed -Run First +Run First void permission-changed -Run First +Run First @@ -954,13 +954,13 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── NMDnsEntry
-    GEnum
+    GEnum
     ├── NMClientError
     ├── NMClientPermission
     ╰── NMClientPermissionResult
-    GObject
+    GObject
     ╰── NMClient
 
@@ -968,7 +968,7 @@

Implemented Interfaces

NMClient implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -977,7 +977,7 @@ NMClient implements

Functions

nm_client_error_quark ()

-
GQuark
+
GQuark
 nm_client_error_quark (void);

Registers an error quark for NMClient if necessary.

@@ -1032,7 +1032,7 @@ nm_dns_entry_get_interface (

Returns

-

the interface name.

+

the interface name.

[transfer none]

Since: 1.6

@@ -1060,7 +1060,7 @@ nm_dns_entry_get_nameservers (

Returns

-

the list of name servers.

+

the list of name servers.

[transfer none]

Since: 1.6

@@ -1088,7 +1088,7 @@ nm_dns_entry_get_domains (

Returns

-

the list of DNS domains.

+

the list of DNS domains.

[transfer none]

Since: 1.6

@@ -1123,7 +1123,7 @@ nm_dns_entry_get_priority (

nm_dns_entry_get_vpn ()

-
gboolean
+
gboolean
 nm_dns_entry_get_vpn (NMDnsEntry *entry);

Gets whether the entry refers to VPN name servers.

@@ -1143,7 +1143,7 @@ nm_dns_entry_get_vpn (

Returns

-

TRUE if the entry refers to VPN name servers

+

TRUE if the entry refers to VPN name servers

Since: 1.6

@@ -1151,8 +1151,8 @@ nm_dns_entry_get_vpn (

nm_client_new ()

NMClient *
-nm_client_new (GCancellable *cancellable,
-               GError **error);
+nm_client_new (GCancellable *cancellable, + GError **error);

Creates a new NMClient.

Note that this will do blocking D-Bus calls to initialize the client. You can use nm_client_new_async() if you want to avoid @@ -1168,12 +1168,12 @@ that.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1188,9 +1188,9 @@ that.

nm_client_new_async ()

void
-nm_client_new_async (GCancellable *cancellable,
-                     GAsyncReadyCallback callback,
-                     gpointer user_data);
+nm_client_new_async (GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Creates a new NMClient and begins asynchronously initializing it. callback will be called when it is done; use @@ -1207,7 +1207,7 @@ the callback can be invoked with two first parameters as NULL.

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -1229,8 +1229,8 @@ the callback can be invoked with two first parameters as NULL.

nm_client_new_finish ()

NMClient *
-nm_client_new_finish (GAsyncResult *result,
-                      GError **error);
+nm_client_new_finish (GAsyncResult *result, + GError **error);

Gets the result of an nm_client_new_async() call.

Parameters

@@ -1243,12 +1243,12 @@ nm_client_new_finish (

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -1256,7 +1256,7 @@ nm_client_new_finish (

Returns

-

a new NMClient, or NULL on error

+

a new NMClient, or NULL on error


@@ -1282,7 +1282,7 @@ nm_client_get_version (

Returns

-

string with the version (or NULL if NetworkManager is not running)

+

string with the version (or NULL if NetworkManager is not running)


@@ -1314,7 +1314,7 @@ nm_client_get_state (

nm_client_get_startup ()

-
gboolean
+
gboolean
 nm_client_get_startup (NMClient *client);

Tests whether the daemon is still in the process of activating connections at startup.

@@ -1341,7 +1341,7 @@ connections at startup.


nm_client_get_nm_running ()

-
gboolean
+
gboolean
 nm_client_get_nm_running (NMClient *client);

Determines whether the daemon is running.

@@ -1361,13 +1361,13 @@ nm_client_get_nm_running (

Returns

-

TRUE if the daemon is running

+

TRUE if the daemon is running


nm_client_networking_get_enabled ()

-
gboolean
+
gboolean
 nm_client_networking_get_enabled (NMClient *client);

Whether networking is enabled or disabled.

@@ -1387,16 +1387,16 @@ nm_client_networking_get_enabled (

Returns

-

TRUE if networking is enabled, FALSE if networking is disabled

+

TRUE if networking is enabled, FALSE if networking is disabled


nm_client_networking_set_enabled ()

-
gboolean
+
gboolean
 nm_client_networking_set_enabled (NMClient *client,
-                                  gboolean enabled,
-                                  GError **error);
+ gboolean enabled, + GError **error);

Enables or disables networking. When networking is disabled, all controlled interfaces are disconnected and deactivated. When networking is enabled, all controlled interfaces are available for activation.

@@ -1416,12 +1416,12 @@ all controlled interfaces are available for activation.

enabled

-

TRUE to set networking enabled, FALSE to set networking disabled

+

TRUE to set networking enabled, FALSE to set networking disabled

 

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -1429,13 +1429,13 @@ all controlled interfaces are available for activation.

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


nm_client_wireless_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wireless_get_enabled (NMClient *client);

Determines whether the wireless is enabled.

@@ -1455,7 +1455,7 @@ nm_client_wireless_get_enabled (

Returns

-

TRUE if wireless is enabled

+

TRUE if wireless is enabled


@@ -1463,7 +1463,7 @@ nm_client_wireless_get_enabled (

nm_client_wireless_set_enabled ()

void
 nm_client_wireless_set_enabled (NMClient *client,
-                                gboolean enabled);
+ gboolean enabled);

Enables or disables wireless devices.

Parameters

@@ -1481,7 +1481,7 @@ nm_client_wireless_set_enabled (

enabled

-

TRUE to enable wireless

+

TRUE to enable wireless

  @@ -1491,7 +1491,7 @@ nm_client_wireless_set_enabled (

nm_client_wireless_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wireless_hardware_get_enabled
                                (NMClient *client);

Determines whether the wireless hardware is enabled.

@@ -1512,13 +1512,13 @@ nm_client_wireless_hardware_get_enabled

Returns

-

TRUE if the wireless hardware is enabled

+

TRUE if the wireless hardware is enabled


nm_client_wwan_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wwan_get_enabled (NMClient *client);

Determines whether WWAN is enabled.

@@ -1538,7 +1538,7 @@ nm_client_wwan_get_enabled (

Returns

-

TRUE if WWAN is enabled

+

TRUE if WWAN is enabled


@@ -1546,7 +1546,7 @@ nm_client_wwan_get_enabled (

nm_client_wwan_set_enabled ()

void
 nm_client_wwan_set_enabled (NMClient *client,
-                            gboolean enabled);
+ gboolean enabled);

Enables or disables WWAN devices.

Parameters

@@ -1564,7 +1564,7 @@ nm_client_wwan_set_enabled (

enabled

-

TRUE to enable WWAN

+

TRUE to enable WWAN

  @@ -1574,7 +1574,7 @@ nm_client_wwan_set_enabled (

nm_client_wwan_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wwan_hardware_get_enabled (NMClient *client);

Determines whether the WWAN hardware is enabled.

@@ -1594,13 +1594,13 @@ nm_client_wwan_hardware_get_enabled (

Returns

-

TRUE if the WWAN hardware is enabled

+

TRUE if the WWAN hardware is enabled


nm_client_wimax_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wimax_get_enabled (NMClient *client);

Determines whether WiMAX is enabled.

@@ -1620,7 +1620,7 @@ nm_client_wimax_get_enabled (

Returns

-

TRUE if WiMAX is enabled

+

TRUE if WiMAX is enabled


@@ -1628,7 +1628,7 @@ nm_client_wimax_get_enabled (

nm_client_wimax_set_enabled ()

void
 nm_client_wimax_set_enabled (NMClient *client,
-                             gboolean enabled);
+ gboolean enabled);

Enables or disables WiMAX devices.

Parameters

@@ -1646,7 +1646,7 @@ nm_client_wimax_set_enabled (

enabled

-

TRUE to enable WiMAX

+

TRUE to enable WiMAX

  @@ -1656,7 +1656,7 @@ nm_client_wimax_set_enabled (

nm_client_wimax_hardware_get_enabled ()

-
gboolean
+
gboolean
 nm_client_wimax_hardware_get_enabled (NMClient *client);

Determines whether the WiMAX hardware is enabled.

@@ -1676,13 +1676,13 @@ nm_client_wimax_hardware_get_enabled (

Returns

-

TRUE if the WiMAX hardware is enabled

+

TRUE if the WiMAX hardware is enabled


nm_client_connectivity_check_get_available ()

-
gboolean
+
gboolean
 nm_client_connectivity_check_get_available
                                (NMClient *client);

Determine whether connectivity checking is available. This @@ -1705,14 +1705,14 @@ configuration file.

Returns

-

TRUE if connectivity checking is available.

+

TRUE if connectivity checking is available.

Since: 1.10


nm_client_connectivity_check_get_enabled ()

-
gboolean
+
gboolean
 nm_client_connectivity_check_get_enabled
                                (NMClient *client);

Determine whether connectivity checking is enabled.

@@ -1733,7 +1733,7 @@ nm_client_connectivity_check_get_enabled

Returns

-

TRUE if connectivity checking is enabled.

+

TRUE if connectivity checking is enabled.

Since: 1.10

@@ -1743,7 +1743,7 @@ nm_client_connectivity_check_get_enabled
void
 nm_client_connectivity_check_set_enabled
                                (NMClient *client,
-                                gboolean enabled);
+ gboolean enabled);

Enable or disable connectivity checking. Note that if a connectivity checking URI has not been configured, this will not have any effect.

@@ -1763,7 +1763,7 @@ have any effect.

enabled

-

TRUE to enable connectivity checking

+

TRUE to enable connectivity checking

  @@ -1774,11 +1774,11 @@ have any effect.


nm_client_get_logging ()

-
gboolean
+
gboolean
 nm_client_get_logging (NMClient *client,
                        char **level,
                        char **domains,
-                       GError **error);
+ GError **error);

Gets NetworkManager current logging level and domains.

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


nm_client_set_logging ()

-
gboolean
+
gboolean
 nm_client_set_logging (NMClient *client,
                        const char *level,
                        const char *domains,
-                       GError **error);
+ GError **error);

Sets NetworkManager logging level and/or domains.

Parameters

@@ -1843,18 +1843,18 @@ nm_client_set_logging (

level

-

logging level to set (NULL or an empty string for no change).

+

logging level to set (NULL or an empty string for no change).

[allow-none]

domains

-

logging domains to set. The string should be a list of log -domains separated by ",". (NULL or an empty string for no change).

+

logging domains to set. The string should be a list of log +domains separated by ",". (NULL or an empty string for no change).

[allow-none]

error

-

return location for a GError, or NULL.

+

return location for a GError, or NULL.

[allow-none] @@ -1862,7 +1862,7 @@ domains separated by ",". (

Returns

-

TRUE on success, FALSE otherwise

+

TRUE on success, FALSE otherwise


@@ -1934,8 +1934,8 @@ connectivity state first before returning any information.

nm_client_check_connectivity ()

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

Updates the network connectivity state and returns the (new) current state. Contrast nm_client_get_connectivity(), which returns the most recent known state without re-checking.

@@ -1957,12 +1957,12 @@ if you do not want to block.

cancellable

-

a GCancellable

+

a GCancellable

 

error

-

return location for a GError

+

return location for a GError

  @@ -1978,9 +1978,9 @@ if you do not want to block.

nm_client_check_connectivity_async ()

void
 nm_client_check_connectivity_async (NMClient *client,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously updates the network connectivity state and invokes callback when complete. Contrast nm_client_get_connectivity(), @@ -2002,7 +2002,7 @@ re-checking, and

cancellable

-

a GCancellable

+

a GCancellable

  @@ -2025,8 +2025,8 @@ re-checking, and

nm_client_check_connectivity_finish ()

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

Retrieves the result of an nm_client_check_connectivity_async() call.

@@ -2045,12 +2045,12 @@ call.

result

-

the GAsyncResult

+

the GAsyncResult

 

error

-

return location for a GError

+

return location for a GError

  @@ -2064,11 +2064,11 @@ call.


nm_client_save_hostname ()

-
gboolean
+
gboolean
 nm_client_save_hostname (NMClient *client,
                          const char *hostname,
-                         GCancellable *cancellable,
-                         GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the machine's persistent hostname be set to the specified value or cleared.

@@ -2087,18 +2087,18 @@ or cleared.

hostname

-

the new persistent hostname to set, or NULL to +

the new persistent hostname to set, or NULL to clear any existing persistent hostname.

[allow-none]

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

error

-

return location for GError

+

return location for GError

  @@ -2106,7 +2106,7 @@ clear any existing persistent hostname.

Returns

-

TRUE if the request was successful, FALSE if it failed

+

TRUE if the request was successful, FALSE if it failed


@@ -2115,9 +2115,9 @@ clear any existing persistent hostname.

void
 nm_client_save_hostname_async (NMClient *client,
                                const char *hostname,
-                               GCancellable *cancellable,
-                               GAsyncReadyCallback callback,
-                               gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the machine's persistent hostname be set to the specified value or cleared.

@@ -2136,23 +2136,23 @@ or cleared.

hostname

-

the new persistent hostname to set, or NULL to +

the new persistent hostname to set, or NULL to clear any existing persistent hostname.

[allow-none]

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

 

callback

-

callback to be called when the operation completes.

+

callback to be called when the operation completes.

[scope async]

user_data

-

caller-specific data passed to callback +

caller-specific data passed to callback .

[closure] @@ -2163,10 +2163,10 @@ clear any existing persistent hostname.


nm_client_save_hostname_finish ()

-
gboolean
+
gboolean
 nm_client_save_hostname_finish (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_save_hostname_async() call.

Parameters

@@ -2184,12 +2184,12 @@ nm_client_save_hostname_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

return location for GError

+

return location for GError

  @@ -2197,13 +2197,13 @@ nm_client_save_hostname_finish (

Returns

-

TRUE if the request was successful, FALSE if it failed

+

TRUE if the request was successful, FALSE if it failed


nm_client_get_devices ()

-
const GPtrArray *
+
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 @@ -2226,7 +2226,7 @@ methods such as

Returns

-

a GPtrArray +

a GPtrArray containing all the NMDevices. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDevice]

@@ -2235,7 +2235,7 @@ containing all the NM

nm_client_get_all_devices ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_all_devices (NMClient *client);

Gets both real devices and device placeholders (eg, software devices which do not currently exist, but could be created automatically by NetworkManager @@ -2262,7 +2262,7 @@ use device-specific methods such as

Returns

-

a GPtrArray +

a GPtrArray containing all the NMDevices. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDevice]

@@ -2300,8 +2300,8 @@ nm_client_get_device_by_path (

Returns

-

the NMDevice for the given object_path -or NULL if none is found.

+

the NMDevice for the given object_path +or NULL if none is found.

[transfer none]

@@ -2336,15 +2336,15 @@ nm_client_get_device_by_iface (

Returns

-

the NMDevice for the given iface -or NULL if none is found.

+

the NMDevice for the given iface +or NULL if none is found.

[transfer none]


nm_client_get_active_connections ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_active_connections (NMClient *client);

Gets the active connections.

@@ -2364,7 +2364,7 @@ nm_client_get_active_connections (

Returns

-

a GPtrArray +

a GPtrArray containing all the active NMActiveConnections. The returned array is owned by the client and should not be modified.

[transfer none][element-type NMActiveConnection]

@@ -2383,7 +2383,7 @@ the default route. If there is a VPN active with the default route, then this function returns the active connection that contains the route to the VPN endpoint.

If there is no default route, or the default route is over a -non-NetworkManager-recognized device, this will return NULL.

+non-NetworkManager-recognized device, this will return NULL.

Parameters

@@ -2401,7 +2401,7 @@ non-NetworkManager-recognized device, this will return

Returns

-

the appropriate NMActiveConnection, if +

the appropriate NMActiveConnection, if any.

[transfer none]

@@ -2431,7 +2431,7 @@ currently-activating connection that is expected to become the new

Returns

-

the appropriate NMActiveConnection, if +

the appropriate NMActiveConnection, if any.

[transfer none]

@@ -2444,9 +2444,9 @@ nm_client_activate_connection_async (NMConnection *connection, NMDevice *device, const char *specific_object, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously starts a connection to a particular network using the configuration settings from connection and the network device device @@ -2481,19 +2481,19 @@ track the activation to its completion.

- + - + - - + @@ -2526,8 +2526,8 @@ details of the newly added connection.

nm_client_activate_connection_finish ()

NMActiveConnection *
 nm_client_activate_connection_finish (NMClient *client,
-                                      GAsyncResult *result,
-                                      GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_activate_connection_async().

Parameters

@@ -2545,12 +2545,12 @@ nm_client_activate_connection_finish (

result

-
+ - + @@ -2558,7 +2558,7 @@ nm_client_activate_connection_finish (

Returns

-

the new NMActiveConnection on success, NULL on +

the new NMActiveConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -2573,9 +2573,9 @@ nm_client_add_and_activate_connection_async NMConnection *partial, NMDevice *device, const char *specific_object, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Adds a new connection using the given details (if any) as a template, automatically filling in missing settings with the capabilities of the given device and specific object. The new connection is then asynchronously @@ -2601,8 +2601,8 @@ track the activation to its completion.

- @@ -2615,9 +2615,9 @@ before being added.

- - + @@ -2651,8 +2651,8 @@ details of the newly added connection.

NMActiveConnection *
 nm_client_add_and_activate_connection_finish
                                (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_add_and_activate_connection_async().

You can call nm_active_connection_get_connection() on the returned NMActiveConnection to find the path of the created NMConnection.

@@ -2672,12 +2672,12 @@ nm_client_add_and_activate_connection_finish
- + - + @@ -2685,7 +2685,7 @@ nm_client_add_and_activate_connection_finish

Returns

-

the new NMActiveConnection on success, NULL on +

the new NMActiveConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -2694,11 +2694,11 @@ will be set.


nm_client_deactivate_connection ()

-
gboolean
+
gboolean
 nm_client_deactivate_connection (NMClient *client,
                                  NMActiveConnection *active,
-                                 GCancellable *cancellable,
-                                 GError **error);
+ GCancellable *cancellable, + GError **error);

Deactivates an active NMActiveConnection.

Parameters

@@ -2721,12 +2721,12 @@ nm_client_deactivate_connection (
- + - + @@ -2743,9 +2743,9 @@ nm_client_deactivate_connection (void nm_client_deactivate_connection_async (NMClient *client, NMActiveConnection *active, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously deactivates an active NMActiveConnection.

Parameters

@@ -2768,7 +2768,7 @@ nm_client_deactivate_connection_async (

cancellable

-
+ @@ -2789,11 +2789,11 @@ nm_client_deactivate_connection_async (

nm_client_deactivate_connection_finish ()

-
gboolean
+
gboolean
 nm_client_deactivate_connection_finish
                                (NMClient *client,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_deactivate_connection_async().

Parameters

@@ -2811,12 +2811,12 @@ nm_client_deactivate_connection_finish
- + - + @@ -2830,7 +2830,7 @@ nm_client_deactivate_connection_finish

nm_client_get_connections ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_connections (NMClient *client);

Parameters

@@ -2849,7 +2849,7 @@ nm_client_get_connections (

Returns

-

an array +

an array containing all connections provided by the remote settings service. The returned array is owned by the NMClient object and should not be modified.

The connections are as received from D-Bus and might not validate according @@ -2889,7 +2889,7 @@ nm_client_get_connection_by_id (

Returns

-

the remote connection object on success, or NULL if no +

the remote connection object on success, or NULL if no matching object was found.

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2928,7 +2928,7 @@ nm_client_get_connection_by_path (

Returns

-

the remote connection object on success, or NULL if the object was +

the remote connection object on success, or NULL if the object was not known

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2967,7 +2967,7 @@ nm_client_get_connection_by_uuid (

Returns

-

the remote connection object on success, or NULL if the object was +

the remote connection object on success, or NULL if the object was not known

The connection is as received from D-Bus and might not validate according to nm_connection_verify().

@@ -2980,13 +2980,13 @@ to void nm_client_add_connection_async (NMClient *client, NMConnection *connection, - gboolean save_to_disk, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data);
+ gboolean save_to_disk, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service add the given settings to a new connection. If save_to_disk - is TRUE, the connection is immediately written + is TRUE, the connection is immediately written to disk; otherwise it is initially only stored in memory, but may be saved later by calling the connection's nm_remote_connection_commit_changes() method.

@@ -3028,17 +3028,17 @@ added, not the object itself

- + - + - @@ -3051,8 +3051,8 @@ added, not the object itself

nm_client_add_connection_finish ()

NMRemoteConnection *
 nm_client_add_connection_finish (NMClient *client,
-                                 GAsyncResult *result,
-                                 GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_client_add_connection_async().

Parameters

@@ -3070,12 +3070,12 @@ nm_client_add_connection_finish (
- + - + @@ -3083,7 +3083,7 @@ nm_client_add_connection_finish (

Returns

-

the new NMRemoteConnection on success, NULL on +

the new NMRemoteConnection on success, NULL on failure, in which case error will be set.

[transfer full]

@@ -3092,23 +3092,23 @@ will be set.


nm_client_load_connections ()

-
gboolean
+
gboolean
 nm_client_load_connections (NMClient *client,
                             char **filenames,
                             char ***failures,
-                            GCancellable *cancellable,
-                            GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the remote settings service load or reload the given files, adding or updating the connections described within.

The changes to the indicated files will not yet be reflected in client 's connections array when the function returns.

If all of the indicated files were successfully loaded, the -function will return TRUE, and failures - will be set to NULL. If +function will return TRUE, and failures + will be set to NULL. If NetworkManager tried to load the files, but some (or all) failed, then failures - will be set to a NULL-terminated array of the + will be set to a NULL-terminated array of the filenames that failed to load.

Parameters

@@ -3126,23 +3126,23 @@ filenames that failed to load.

- + - - + - + @@ -3150,9 +3150,9 @@ filenames that failed to load.

Returns

-

TRUE if NetworkManager at least tried to load filenames +

TRUE if NetworkManager at least tried to load filenames , -FALSE if an error occurred (eg, permission denied).

+FALSE if an error occurred (eg, permission denied).


@@ -3161,9 +3161,9 @@ filenames that failed to load.

void
 nm_client_load_connections_async (NMClient *client,
                                   char **filenames,
-                                  GCancellable *cancellable,
-                                  GAsyncReadyCallback callback,
-                                  gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service asynchronously load or reload the given files, adding or updating the connections described within.

See nm_client_load_connections() for more details.

@@ -3183,22 +3183,22 @@ given files, adding or updating the connections described within.

- + - + - + - @@ -3209,11 +3209,11 @@ given files, adding or updating the connections described within.


nm_client_load_connections_finish ()

-
gboolean
+
gboolean
 nm_client_load_connections_finish (NMClient *client,
                                    char ***failures,
-                                   GAsyncResult *result,
-                                   GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_load_connections_async() call.

See nm_client_load_connections() for more details.

@@ -3232,18 +3232,18 @@ nm_client_load_connections_finish (
- + - + - + @@ -3251,18 +3251,18 @@ nm_client_load_connections_finish (

Returns

-

TRUE if NetworkManager at least tried to load filenames +

TRUE if NetworkManager at least tried to load filenames , -FALSE if an error occurred (eg, permission denied).

+FALSE if an error occurred (eg, permission denied).


nm_client_reload_connections ()

-
gboolean
+
gboolean
 nm_client_reload_connections (NMClient *client,
-                              GCancellable *cancellable,
-                              GError **error);
+ GCancellable *cancellable, + GError **error);

Requests that the remote settings service reload all connection files from disk, adding, updating, and removing connections until the in-memory state matches the on-disk state.

@@ -3282,12 +3282,12 @@ the in-memory state matches the on-disk state.

- + - + @@ -3295,7 +3295,7 @@ the in-memory state matches the on-disk state.

Returns

-

TRUE on success, FALSE on failure

+

TRUE on success, FALSE on failure


@@ -3303,9 +3303,9 @@ the in-memory state matches the on-disk state.

nm_client_reload_connections_async ()

void
 nm_client_reload_connections_async (NMClient *client,
-                                    GCancellable *cancellable,
-                                    GAsyncReadyCallback callback,
-                                    gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Requests that the remote settings service begin reloading all connection files from disk, adding, updating, and removing connections until the in-memory state matches the on-disk state.

@@ -3325,17 +3325,17 @@ in-memory state matches the on-disk state.

- + - + - @@ -3346,10 +3346,10 @@ in-memory state matches the on-disk state.


nm_client_reload_connections_finish ()

-
gboolean
+
gboolean
 nm_client_reload_connections_finish (NMClient *client,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of an nm_client_reload_connections_async() call.

Parameters

@@ -3367,12 +3367,12 @@ nm_client_reload_connections_finish (
- + - + @@ -3380,7 +3380,7 @@ nm_client_reload_connections_finish (

Returns

-

TRUE on success, FALSE on failure

+

TRUE on success, FALSE on failure


@@ -3406,7 +3406,7 @@ nm_client_get_dns_mode (

Returns

-

the DNS processing mode, or NULL in case the +

the DNS processing mode, or NULL in case the value is not available.

Since: 1.6

@@ -3434,7 +3434,7 @@ nm_client_get_dns_rc_manager (

Returns

-

the resolv.conf manager or NULL in case the +

the resolv.conf manager or NULL in case the value is not available.

Since: 1.6

@@ -3442,7 +3442,7 @@ value is not available.


nm_client_get_dns_configuration ()

-
const GPtrArray *
+
const GPtrArray *
 nm_client_get_dns_configuration (NMClient *client);

Gets the current DNS configuration

@@ -3462,8 +3462,8 @@ nm_client_get_dns_configuration (

Returns

-

a GPtrArray -containing NMDnsEntry elements or NULL in case the value is not +

a GPtrArray +containing NMDnsEntry elements or NULL in case the value is not available. The returned array is owned by the NMClient object and should not be modified.

[transfer none][element-type NMDnsEntry]

@@ -3956,7 +3956,7 @@ likely to become the new

The “active-connections” property

-
  “active-connections”       GPtrArray *
+
  “active-connections”       GPtrArray *

The active connections.

Element-type: NMActiveConnection

Flags: Read

@@ -3964,7 +3964,7 @@ likely to become the new

The “all-devices” property

-
  “all-devices”              GPtrArray *
+
  “all-devices”              GPtrArray *

List of both real devices and device placeholders.

Element-type: NMDevice

Flags: Read

@@ -3973,15 +3973,15 @@ likely to become the new

The “can-modify” property

-
  “can-modify”               gboolean
-

If TRUE, adding and modifying connections is supported.

+
  “can-modify”               gboolean
+

If TRUE, adding and modifying connections is supported.

Flags: Read

Default value: FALSE


The “connections” property

-
  “connections”              GPtrArray *
+
  “connections”              GPtrArray *

The list of configured connections that are available to the user. (Note that this differs from the underlying D-Bus property, which may also contain the object paths of connections that the user does not have @@ -4000,21 +4000,21 @@ permission to read the details of.)


The “connectivity-check-available” property

-
  “connectivity-check-available” gboolean
+
  “connectivity-check-available” gboolean

Flags: Read

Default value: FALSE


The “connectivity-check-enabled” property

-
  “connectivity-check-enabled” gboolean
+
  “connectivity-check-enabled” gboolean

Flags: Read / Write

Default value: FALSE


The “devices” property

-
  “devices”                  GPtrArray *
+
  “devices”                  GPtrArray *

List of real network devices. Does not include placeholder devices.

Element-type: NMDevice

Flags: Read

@@ -4022,7 +4022,7 @@ permission to read the details of.)


The “dns-configuration” property

-
  “dns-configuration”        GPtrArray *
+
  “dns-configuration”        GPtrArray *

The current DNS configuration represented as an array of dictionaries. Each dictionary has the "nameservers", "priority" keys and, optionally, "interface" and "vpn". @@ -4036,7 +4036,7 @@ configuration was obtained from a VPN connection.


The “dns-mode” property

-
  “dns-mode”                 gchar *
+
  “dns-mode”                 gchar *

The current DNS processing mode.

Flags: Read

Default value: ""

@@ -4045,7 +4045,7 @@ configuration was obtained from a VPN connection.


The “dns-rc-manager” property

-
  “dns-rc-manager”           gchar *
+
  “dns-rc-manager”           gchar *

The current resolv.conf management mode.

Flags: Read

Default value: ""

@@ -4054,7 +4054,7 @@ configuration was obtained from a VPN connection.


The “hostname” property

-
  “hostname”                 gchar *
+
  “hostname”                 gchar *

The machine hostname stored in persistent configuration. This can be modified by calling nm_client_save_hostname().

Flags: Read

@@ -4063,7 +4063,7 @@ modified by calling

The “metered” property

-
  “metered”                  guint
+
  “metered”                  guint

Whether the connectivity is metered.

Flags: Read

Default value: 0

@@ -4072,7 +4072,7 @@ modified by calling

The “networking-enabled” property

-
  “networking-enabled”       gboolean
+
  “networking-enabled”       gboolean

Whether networking is enabled.

Flags: Read / Write

Default value: TRUE

@@ -4080,7 +4080,7 @@ modified by calling

The “nm-running” property

-
  “nm-running”               gboolean
+
  “nm-running”               gboolean

Whether the daemon is running.

Flags: Read

Default value: FALSE

@@ -4096,7 +4096,7 @@ see

The “startup” property

-
  “startup”                  gboolean
+
  “startup”                  gboolean

Whether the daemon is still starting up.

Flags: Read

Default value: FALSE

@@ -4112,7 +4112,7 @@ see

The “version” property

-
  “version”                  gchar *
+
  “version”                  gchar *

The NetworkManager version.

Flags: Read

Default value: NULL

@@ -4120,7 +4120,7 @@ see

The “wimax-enabled” property

-
  “wimax-enabled”            gboolean
+
  “wimax-enabled”            gboolean

Whether WiMAX functionality is enabled.

Flags: Read / Write

Default value: FALSE

@@ -4128,7 +4128,7 @@ see

The “wimax-hardware-enabled” property

-
  “wimax-hardware-enabled”   gboolean
+
  “wimax-hardware-enabled”   gboolean

Whether the WiMAX hardware is enabled.

Flags: Read

Default value: FALSE

@@ -4136,7 +4136,7 @@ see

The “wireless-enabled” property

-
  “wireless-enabled”         gboolean
+
  “wireless-enabled”         gboolean

Whether wireless is enabled.

Flags: Read / Write

Default value: FALSE

@@ -4144,7 +4144,7 @@ see

The “wireless-hardware-enabled” property

-
  “wireless-hardware-enabled” gboolean
+
  “wireless-hardware-enabled” gboolean

Whether the wireless hardware is enabled.

Flags: Read

Default value: TRUE

@@ -4152,7 +4152,7 @@ see

The “wwan-enabled” property

-
  “wwan-enabled”             gboolean
+
  “wwan-enabled”             gboolean

Whether WWAN functionality is enabled.

Flags: Read / Write

Default value: FALSE

@@ -4160,7 +4160,7 @@ see

The “wwan-hardware-enabled” property

-
  “wwan-hardware-enabled”    gboolean
+
  “wwan-hardware-enabled”    gboolean

Whether the WWAN hardware is enabled.

Flags: Read

Default value: FALSE

@@ -4173,7 +4173,7 @@ see void user_function (NMClient *client, NMActiveConnection *active_connection, - gpointer user_data)
+ gpointer user_data)

Notifies that a NMActiveConnection has been added.

Parameters

@@ -4202,7 +4202,7 @@ user_function (

connection

an NMConnection.

an NMConnection.

[allow-none]

device

the NMDevice.

the NMDevice.

[allow-none]

specific_object

the object path of a connection-type-specific +

the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used +wired and mobile broadband connections, and the value of NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a NMAccessPoint or NMWimaxNsp owned by device , which you can @@ -2503,7 +2503,7 @@ details of the newly added connection.

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

partial

an NMConnection to add; the connection may be -partially filled (or even NULL) and will be completed by NetworkManager +

an NMConnection to add; the connection may be +partially filled (or even NULL) and will be completed by NetworkManager using the given device and specific_object before being added.

specific_object

the object path of a connection-type-specific +

the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used +wired and mobile broadband connections, and the value of NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a NMAccessPoint or NMWimaxNsp owned by device , which you can @@ -2627,7 +2627,7 @@ details of the newly added connection.

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +

caller-specific data passed to callback .

[closure]

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

filenames

NULL-terminated array of filenames to load.

NULL-terminated array of filenames to load.

[array zero-terminated=1]

failures

on return, a NULL-terminated array of +

on return, a NULL-terminated array of filenames that failed to load.

[out][transfer full]

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

return location for GError

return location for GError

 

filenames

NULL-terminated array of filenames to load.

NULL-terminated array of filenames to load.

[array zero-terminated=1]

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

callback

callback to be called when the operation completes.

callback to be called when the operation completes.

[scope async]

user_data

caller-specific data passed to callback +

caller-specific data passed to callback .

[closure]

failures

on return, a -NULL-terminated array of filenames that failed to load.

on return, a +NULL-terminated array of filenames that failed to load.

[out][transfer full][array zero-terminated=1]

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

return location for GError

return location for GError

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

callback

callback to be called when the reload operation completes.

callback to be called when the reload operation completes.

[scope async]

user_data

caller-specific data passed to callback +

caller-specific data passed to callback .

[closure]

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

return location for GError

return location for GError

 
-

Flags: Run First

+

Flags: Run First


@@ -4210,7 +4210,7 @@ user_function (void user_function (NMClient *client, NMActiveConnection *active_connection, - gpointer user_data)
+ gpointer user_data)

Notifies that a NMActiveConnection has been removed.

Parameters

@@ -4239,15 +4239,15 @@ user_function (
-

Flags: Run First

+

Flags: Run First


The “any-device-added” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is added. This signal is emitted for both regular devices and placeholder devices.

@@ -4266,7 +4266,7 @@ regular devices and placeholder devices.

device

-

the new device.

+

the new device.

[type NMDevice] @@ -4277,15 +4277,15 @@ regular devices and placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “any-device-removed” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is removed. This signal is emitted for both regular devices and placeholder devices.

@@ -4304,7 +4304,7 @@ regular devices and placeholder devices.

device

-

the removed device.

+

the removed device.

[type NMDevice] @@ -4315,7 +4315,7 @@ regular devices and placeholder devices.

-

Flags: Run First

+

Flags: Run First


@@ -4323,7 +4323,7 @@ regular devices and placeholder devices.

void
 user_function (NMClient           *client,
                NMRemoteConnection *connection,
-               gpointer            user_data)
+ gpointer user_data)

Notifies that a NMConnection has been added.

Parameters

@@ -4352,7 +4352,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First


@@ -4360,7 +4360,7 @@ user_function (void user_function (NMClient *client, NMRemoteConnection *connection, - gpointer user_data) + gpointer user_data)

Notifies that a NMConnection has been removed.

Parameters

@@ -4389,15 +4389,15 @@ user_function (
-

Flags: Run First

+

Flags: Run First


The “device-added” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is added. This signal is not emitted for placeholder devices.

@@ -4416,7 +4416,7 @@ placeholder devices.

device

-

the new device.

+

the new device.

[type NMDevice] @@ -4427,15 +4427,15 @@ placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “device-removed” signal

void
 user_function (NMClient *client,
-               GObject  *device,
-               gpointer  user_data)
+ GObject *device, + gpointer user_data)

Notifies that a NMDevice is removed. This signal is not emitted for placeholder devices.

@@ -4454,7 +4454,7 @@ placeholder devices.

device

-

the removed device.

+

the removed device.

[type NMDevice] @@ -4465,16 +4465,16 @@ placeholder devices.

-

Flags: Run First

+

Flags: Run First


The “permission-changed” signal

void
 user_function (NMClient *client,
-               guint     permission,
-               guint     result,
-               gpointer  user_data)
+ guint permission, + guint result, + gpointer user_data)

Notifies that a permission has changed

Parameters

@@ -4508,11 +4508,11 @@ user_function (
-

Flags: Run First

+

Flags: Run First

+
Generated by GTK-Doc V1.26 \ No newline at end of file -- cgit 1.3.0-6-gf8a5