From 45cb5bb3c0e6edb887cf69b417fcaf7053814a9b Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Tue, 20 Dec 2016 20:06:37 +0800 Subject: Imported Upstream version 1.4.4 --- docs/libnm/html/NMDevice.html | 512 +++++++++++++++++++++--------------------- 1 file changed, 256 insertions(+), 256 deletions(-) (limited to 'docs/libnm/html/NMDevice.html') diff --git a/docs/libnm/html/NMDevice.html b/docs/libnm/html/NMDevice.html index ba26a21a..7951da7a 100644 --- a/docs/libnm/html/NMDevice.html +++ b/docs/libnm/html/NMDevice.html @@ -3,7 +3,7 @@ NMDevice: libnm Reference Manual - + @@ -37,7 +37,7 @@

Functions

-
+
@@ -117,7 +117,7 @@ - -
-gboolean +gboolean nm_device_get_managed () @@ -133,7 +133,7 @@
-gboolean +gboolean nm_device_get_autoconnect () @@ -149,7 +149,7 @@
-gboolean +gboolean nm_device_get_firmware_missing () @@ -157,7 +157,7 @@
-gboolean +gboolean nm_device_get_nm_plugin_missing () @@ -220,7 +220,7 @@
const GPtrArray * +const GPtrArray * nm_device_get_available_connections () @@ -235,7 +235,7 @@
-guint32 +guint32 nm_device_get_mtu () @@ -243,7 +243,7 @@
-gboolean +gboolean nm_device_is_real () @@ -251,7 +251,7 @@
-gboolean +gboolean nm_device_is_software () @@ -288,7 +288,7 @@
-GPtrArray * +GPtrArray * nm_device_get_lldp_neighbors () @@ -304,7 +304,7 @@
-gboolean +gboolean nm_device_reapply () @@ -320,7 +320,7 @@
-gboolean +gboolean nm_device_reapply_finish () @@ -352,7 +352,7 @@
-gboolean +gboolean nm_device_disconnect () @@ -368,7 +368,7 @@
-gboolean +gboolean nm_device_disconnect_finish () @@ -376,7 +376,7 @@
-gboolean +gboolean nm_device_delete () @@ -392,7 +392,7 @@
-gboolean +gboolean nm_device_delete_finish () @@ -400,7 +400,7 @@
-GPtrArray * +GPtrArray * nm_device_filter_connections () @@ -408,7 +408,7 @@
-gboolean +gboolean nm_device_connection_valid () @@ -416,7 +416,7 @@
-gboolean +gboolean nm_device_connection_compatible () @@ -424,7 +424,7 @@
-GType +GType nm_device_get_setting_type () @@ -464,7 +464,7 @@
-gboolean +gboolean nm_lldp_neighbor_get_attr_string_value () @@ -472,14 +472,14 @@
-gboolean +gboolean nm_lldp_neighbor_get_attr_uint_value ()
const GVariantType * +const GVariantType * nm_lldp_neighbor_get_attr_type () @@ -490,7 +490,7 @@

Properties

-
+
@@ -504,13 +504,13 @@ - + +GPtrArray * @@ -538,36 +538,36 @@ +gchar * +gchar * - + +gchar * +gchar * +gchar * @@ -585,44 +585,44 @@ +GPtrArray * - + - + - + - + +gchar * +gchar * - + @@ -632,19 +632,19 @@ - + +gchar * +gchar * @@ -653,7 +653,7 @@

Signals

-
Read
gbooleangboolean autoconnect Read / Write
-GPtrArray * available-connections Read
-gchar * driver Read
-gchar * driver-version Read
gbooleangboolean firmware-missing Read
-gchar * firmware-version Read
-gchar * interface Read
-gchar * ip-interface Read
-GPtrArray * lldp-neighbors Read
gbooleangboolean managed Read
guintguint metered Read
guintguint mtu Read
gbooleangboolean nm-plugin-missing Read
-gchar * physical-port-id Read
-gchar * product Read
gbooleangboolean real Read
Read
guintguint state-reason Read
-gchar * udi Read
-gchar * vendor Read
+
@@ -662,13 +662,13 @@ - +
void state-changedRun FirstRun First

Types and Values

-
+
@@ -793,7 +793,7 @@

Object Hierarchy

    GBoxed
     ╰── NMLldpNeighbor
-    GObject
+    GObject
     ╰── NMObject
         ╰── NMDevice
             ├── NMDeviceAdsl
@@ -819,7 +819,7 @@
 

Implemented Interfaces

NMDevice implements - GInitable and GAsyncInitable.

+ GInitable and GAsyncInitable.

Description

@@ -833,7 +833,7 @@ nm_device_get_iface (NMDevice.

Parameters

-
+
@@ -861,7 +861,7 @@ nm_device_get_ip_iface (

Parameters

-
+
@@ -888,7 +888,7 @@ nm_device_get_device_type (NMDevice, ie Ethernet, Wi-Fi, etc.

Parameters

-
+
@@ -914,7 +914,7 @@ nm_device_get_udi (NMDevice.

Parameters

-
+
@@ -942,7 +942,7 @@ nm_device_get_driver (NMDevice.

Parameters

-
+
@@ -969,7 +969,7 @@ nm_device_get_driver_version (NMDevice.

Parameters

-
+
@@ -996,7 +996,7 @@ nm_device_get_firmware_version (Gets the firmware version of the NMDevice.

Parameters

-
+
@@ -1025,7 +1025,7 @@ nm_device_get_type_description (

Parameters

-
+
@@ -1053,7 +1053,7 @@ nm_device_get_hw_address (

Parameters

-
+
@@ -1068,7 +1068,7 @@ nm_device_get_hw_address (

Returns

-

the current MAC of the device, or NULL. +

the current MAC of the device, or NULL. This is the internal string used by the device, and must not be modified.

@@ -1080,7 +1080,7 @@ nm_device_get_capabilities (

Parameters

-
+
@@ -1101,12 +1101,12 @@ nm_device_get_capabilities (

nm_device_get_managed ()

-
gboolean
+
gboolean
 nm_device_get_managed (NMDevice *device);

Whether the NMDevice is managed by NetworkManager.

Parameters

-
+
@@ -1121,7 +1121,7 @@ nm_device_get_managed (

Returns

-

TRUE if the device is managed by NetworkManager

+

TRUE if the device is managed by NetworkManager


@@ -1129,11 +1129,11 @@ nm_device_get_managed (

nm_device_set_managed ()

void
 nm_device_set_managed (NMDevice *device,
-                       gboolean managed);
+ gboolean managed);

Enables or disables management of NMDevice by NetworkManager.

Parameters

-
+
@@ -1147,7 +1147,7 @@ nm_device_set_managed (

managed

-
+ @@ -1158,12 +1158,12 @@ nm_device_set_managed (

nm_device_get_autoconnect ()

-
gboolean
+
gboolean
 nm_device_get_autoconnect (NMDevice *device);

Whether the NMDevice can be autoconnected.

Parameters

-

TRUE to make the device managed by NetworkManager.

TRUE to make the device managed by NetworkManager.

 
+
@@ -1178,7 +1178,7 @@ nm_device_get_autoconnect (

Returns

-

TRUE if the device is allowed to be autoconnected

+

TRUE if the device is allowed to be autoconnected


@@ -1186,11 +1186,11 @@ nm_device_get_autoconnect (

nm_device_set_autoconnect ()

void
 nm_device_set_autoconnect (NMDevice *device,
-                           gboolean autoconnect);
+ gboolean autoconnect);

Enables or disables automatic activation of the NMDevice.

Parameters

-
+
@@ -1204,7 +1204,7 @@ nm_device_set_autoconnect (

autoconnect

-
+ @@ -1214,13 +1214,13 @@ nm_device_set_autoconnect (

nm_device_get_firmware_missing ()

-
gboolean
+
gboolean
 nm_device_get_firmware_missing (NMDevice *device);

Indicates that firmware required for the device's operation is likely to be missing.

Parameters

-

TRUE to enable autoconnecting

TRUE to enable autoconnecting

 
+
@@ -1235,19 +1235,19 @@ to be missing.

Returns

-

TRUE if firmware required for the device's operation is likely +

TRUE if firmware required for the device's operation is likely to be missing.


nm_device_get_nm_plugin_missing ()

-
gboolean
+
gboolean
 nm_device_get_nm_plugin_missing (NMDevice *device);

Indicates that the NetworkManager plugin for the device is not installed.

Parameters

-
+
@@ -1262,7 +1262,7 @@ nm_device_get_nm_plugin_missing (

Returns

-

TRUE if the device plugin not installed.

+

TRUE if the device plugin not installed.

Since: 1.2

@@ -1276,7 +1276,7 @@ nm_device_get_ip4_config (

Parameters

-
+
@@ -1291,7 +1291,7 @@ works with VPN connections.

Returns

-

the IPv4 NMIPConfig, or NULL if the device is not +

the IPv4 NMIPConfig, or NULL if the device is not activated.

[transfer none]

@@ -1306,7 +1306,7 @@ nm_device_get_dhcp4_config (

Parameters

-
+
@@ -1321,7 +1321,7 @@ works with VPN connections.

Returns

-

the IPv4 NMDhcpConfig, or NULL if the device is +

the IPv4 NMDhcpConfig, or NULL if the device is not activated or not using DHCP.

[transfer none]

@@ -1336,7 +1336,7 @@ nm_device_get_ip6_config (

Parameters

-
+
@@ -1351,7 +1351,7 @@ works with VPN connections.

Returns

-

the IPv6 NMIPConfig or NULL if the device is not activated.

+

the IPv6 NMIPConfig or NULL if the device is not activated.

[transfer none]

@@ -1365,7 +1365,7 @@ nm_device_get_dhcp6_config (

Parameters

-
+
@@ -1380,7 +1380,7 @@ works with VPN connections.

Returns

-

the IPv6 NMDhcpConfig, or NULL if the device is +

the IPv6 NMDhcpConfig, or NULL if the device is not activated or not using DHCPv6.

[transfer none]

@@ -1393,7 +1393,7 @@ nm_device_get_state (NMDevice state.

Parameters

-
+
@@ -1419,7 +1419,7 @@ nm_device_get_state_reason (NMDevice state.

Parameters

-
+
@@ -1445,7 +1445,7 @@ nm_device_get_active_connection (Gets the NMActiveConnection object which owns this device during activation.

Parameters

-
+
@@ -1460,7 +1460,7 @@ nm_device_get_active_connection (

Returns

-

the NMActiveConnection or NULL if the device is +

the NMActiveConnection or NULL if the device is not part of an active connection.

[transfer none]

@@ -1468,14 +1468,14 @@ not part of an active connection.


nm_device_get_available_connections ()

-
const GPtrArray *
+
const GPtrArray *
 nm_device_get_available_connections (NMDevice *device);

Gets the NMRemoteConnections currently known to the daemon that could be activated on device .

Parameters

-
+
@@ -1490,7 +1490,7 @@ be activated on device

Returns

-

the GPtrArray +

the GPtrArray containing NMRemoteConnections. This is the internal copy used by the connection, and must not be modified.

[element-type NMRemoteConnection]

@@ -1501,13 +1501,13 @@ the connection, and must not be modified.

nm_device_get_physical_port_id ()

const char *
 nm_device_get_physical_port_id (NMDevice *device);
-

Gets the physical port ID of the NMDevice. If non-NULL, this is +

Gets the physical port ID of the NMDevice. If non-NULL, this is an opaque string that can be used to recognize when seemingly-unrelated NMDevices are actually just different virtual ports on a single physical port. (Eg, NPAR / SR-IOV.)

Parameters

-
+
@@ -1522,7 +1522,7 @@ ports on a single physical port. (Eg, NPAR / SR-IOV.)

Returns

-

the physical port ID of the device, or NULL if the port +

the physical port ID of the device, or NULL if the port ID is unknown. This is the internal string used by the device and must not be modified.

@@ -1530,12 +1530,12 @@ must not be modified.


nm_device_get_mtu ()

-
guint32
+
guint32
 nm_device_get_mtu (NMDevice *device);

Gets the MTU of the NMDevice.

Parameters

-
+
@@ -1556,11 +1556,11 @@ nm_device_get_mtu (

nm_device_is_real ()

-
gboolean
+
gboolean
 nm_device_is_real (NMDevice *device);

Parameters

-
+
@@ -1575,7 +1575,7 @@ nm_device_is_real (

Returns

-

TRUE if the device exists, or FALSE if it is a placeholder device +

TRUE if the device exists, or FALSE if it is a placeholder device that could be automatically created by NetworkManager if one of its “available-connections” was activated.

@@ -1584,12 +1584,12 @@ that could be automatically created by NetworkManager if one of its

nm_device_is_software ()

-
gboolean
+
gboolean
 nm_device_is_software (NMDevice *device);

Whether the device is a software device.

Parameters

-
+
@@ -1604,8 +1604,8 @@ nm_device_is_software (

Returns

-

TRUE if device -is a software device, FALSE if it is a hardware device.

+

TRUE if device +is a software device, FALSE if it is a hardware device.


@@ -1616,7 +1616,7 @@ nm_device_get_product (NMDevice.

Parameters

-
+
@@ -1643,7 +1643,7 @@ nm_device_get_vendor (NMDevice.

Parameters

-
+
@@ -1671,7 +1671,7 @@ nm_device_get_description (

Parameters

-
+
@@ -1699,7 +1699,7 @@ nm_device_get_metered (NMDevice.

Parameters

-
+
@@ -1721,12 +1721,12 @@ nm_device_get_metered (

nm_device_get_lldp_neighbors ()

-
GPtrArray *
+
GPtrArray *
 nm_device_get_lldp_neighbors (NMDevice *device);

Gets the list of neighbors discovered through LLDP.

Parameters

-
+
@@ -1741,7 +1741,7 @@ nm_device_get_lldp_neighbors (

Returns

-

the GPtrArray +

the GPtrArray containing NMLldpNeighbors. This is the internal copy used by the device and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.

@@ -1760,7 +1760,7 @@ devices in devices .

Parameters

-
+
@@ -1790,18 +1790,18 @@ devices in devices

nm_device_reapply ()

-
gboolean
+
gboolean
 nm_device_reapply (NMDevice *device,
                    NMConnection *connection,
-                   guint64 version_id,
-                   guint32 flags,
-                   GCancellable *cancellable,
-                   GError **error);
+ guint64 version_id, + guint32 flags, + GCancellable *cancellable, + GError **error);

Attempts to update device with changes to the currently active connection made since it was last applied.

Parameters

-
+
@@ -1815,7 +1815,7 @@ made since it was last applied.

- + @@ -1832,12 +1832,12 @@ catch concurrent accesses.

- + - + @@ -1845,7 +1845,7 @@ catch concurrent accesses.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

Since: 1.2

@@ -1856,16 +1856,16 @@ will be set.

void
 nm_device_reapply_async (NMDevice *device,
                          NMConnection *connection,
-                         guint64 version_id,
-                         guint32 flags,
-                         GCancellable *cancellable,
-                         GAsyncReadyCallback callback,
-                         gpointer user_data);
+ guint64 version_id, + guint32 flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously begins an attempt to update device with changes to the currently active connection made since it was last applied.

Parameters

-

connection

the NMConnection to replace the applied settings with or NULL to reuse existing

the NMConnection to replace the applied settings with or NULL to reuse existing

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 
+
@@ -1879,7 +1879,7 @@ currently active connection made since it was last applied.

- + @@ -1896,7 +1896,7 @@ catch concurrent accesses.

- + @@ -1918,14 +1918,14 @@ catch concurrent accesses.


nm_device_reapply_finish ()

-
gboolean
+
gboolean
 nm_device_reapply_finish (NMDevice *device,
-                          GAsyncResult *result,
-                          GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_device_reapply_async().

Parameters

-

connection

the NMConnection to replace the applied settings with or NULL to reuse existing

the NMConnection to replace the applied settings with or NULL to reuse existing

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 
+
@@ -1939,12 +1939,12 @@ nm_device_reapply_finish (

result

-
+ - + @@ -1952,7 +1952,7 @@ nm_device_reapply_finish (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

Since: 1.2

@@ -1962,14 +1962,14 @@ will be set.

nm_device_get_applied_connection ()

NMConnection *
 nm_device_get_applied_connection (NMDevice *device,
-                                  guint32 flags,
-                                  guint64 *version_id,
-                                  GCancellable *cancellable,
-                                  GError **error);
+ guint32 flags, + guint64 *version_id, + GCancellable *cancellable, + GError **error);

Fetch the currently applied connection on the device.

Parameters

-

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

 
+
@@ -1994,12 +1994,12 @@ the applied connection.

- + - + @@ -2008,7 +2008,7 @@ the applied connection.

Returns

a NMConnection with the currently applied settings -or NULL on error.

+or NULL on error.

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

[transfer full]

@@ -2021,14 +2021,14 @@ to void nm_device_get_applied_connection_async (NMDevice *device, - guint32 flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + guint32 flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously begins an get the a currently applied connection.

Parameters

-

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 
+
@@ -2047,7 +2047,7 @@ nm_device_get_applied_connection_async - + @@ -2072,13 +2072,13 @@ nm_device_get_applied_connection_async
NMConnection *
 nm_device_get_applied_connection_finish
                                (NMDevice *device,
-                                GAsyncResult *result,
-                                guint64 *version_id,
-                                GError **error);
+ GAsyncResult *result, + guint64 *version_id, + GError **error);

Gets the result of a call to nm_device_get_applied_connection_async().

Parameters

-

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 
+
@@ -2092,7 +2092,7 @@ nm_device_get_applied_connection_finish - + @@ -2103,7 +2103,7 @@ connection.

- + @@ -2111,7 +2111,7 @@ connection.

Returns

-

a currently applied NMConnection or NULL in case +

a currently applied NMConnection or NULL in case of error.

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

@@ -2122,16 +2122,16 @@ to

nm_device_disconnect ()

-
gboolean
+
gboolean
 nm_device_disconnect (NMDevice *device,
-                      GCancellable *cancellable,
-                      GError **error);
+ GCancellable *cancellable, + GError **error);

Disconnects the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection request.

Parameters

-

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

 
+
@@ -2145,12 +2145,12 @@ request.

- + - + @@ -2158,7 +2158,7 @@ request.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -2167,15 +2167,15 @@ will be set.

nm_device_disconnect_async ()

void
 nm_device_disconnect_async (NMDevice *device,
-                            GCancellable *cancellable,
-                            GAsyncReadyCallback callback,
-                            gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously begins disconnecting the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection request.

Parameters

-

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 
+
@@ -2189,7 +2189,7 @@ manual network connection request.

- + @@ -2210,14 +2210,14 @@ manual network connection request.


nm_device_disconnect_finish ()

-
gboolean
+
gboolean
 nm_device_disconnect_finish (NMDevice *device,
-                             GAsyncResult *result,
-                             GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_device_disconnect_async().

Parameters

-

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 
+
@@ -2231,12 +2231,12 @@ nm_device_disconnect_finish (

result

-
+ - + @@ -2244,21 +2244,21 @@ nm_device_disconnect_finish (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.


nm_device_delete ()

-
gboolean
+
gboolean
 nm_device_delete (NMDevice *device,
-                  GCancellable *cancellable,
-                  GError **error);
+ GCancellable *cancellable, + GError **error);

Deletes the software device. Hardware devices can't be deleted.

Parameters

-

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

 
+
@@ -2272,12 +2272,12 @@ nm_device_delete (

cancellable

-
+ - + @@ -2285,7 +2285,7 @@ nm_device_delete (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -2294,14 +2294,14 @@ will be set.

nm_device_delete_async ()

void
 nm_device_delete_async (NMDevice *device,
-                        GCancellable *cancellable,
-                        GAsyncReadyCallback callback,
-                        gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously begins deleteing the software device. Hardware devices can't be deleted.

Parameters

-

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 
+
@@ -2315,7 +2315,7 @@ be deleted.

- + @@ -2336,14 +2336,14 @@ be deleted.


nm_device_delete_finish ()

-
gboolean
+
gboolean
 nm_device_delete_finish (NMDevice *device,
-                         GAsyncResult *result,
-                         GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_device_delete_async().

Parameters

-

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 
+
@@ -2357,12 +2357,12 @@ nm_device_delete_finish (

result

-
+ - + @@ -2370,16 +2370,16 @@ nm_device_delete_finish (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.


nm_device_filter_connections ()

-
GPtrArray *
+
GPtrArray *
 nm_device_filter_connections (NMDevice *device,
-                              const GPtrArray *connections);
+ const GPtrArray *connections);

Filters a given array of connections for a given NMDevice object and returns connections which may be activated with the device. For example if device @@ -2392,7 +2392,7 @@ incompatible with the device. To get the full list of connections see nm_client_get_connections().

Parameters

-

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

 
+
@@ -2406,7 +2406,7 @@ incompatible with the device. To get the full list of connections see - + @@ -2415,16 +2415,16 @@ incompatible with the device. To get the full list of connections see

Returns

an array of -NMConnections that could be activated with the given device +NMConnections that could be activated with the given device . The array -should be freed with g_ptr_array_unref() when it is no longer required.

+should be freed with g_ptr_array_unref() when it is no longer required.

[transfer container][element-type NMConnection]


nm_device_connection_valid ()

-
gboolean
+
gboolean
 nm_device_connection_valid (NMDevice *device,
                             NMConnection *connection);

Validates a given connection for a given NMDevice object and returns @@ -2437,7 +2437,7 @@ an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the device.

Parameters

-

connections

an array of NMConnections to filter.

an array of NMConnections to filter.

[element-type NMConnection]
+
@@ -2461,17 +2461,17 @@ against

Returns

-

TRUE if the connection may be activated with this device, FALSE +

TRUE if the connection may be activated with this device, FALSE if is incompatible with the device's capabilities and characteristics.


nm_device_connection_compatible ()

-
gboolean
+
gboolean
 nm_device_connection_compatible (NMDevice *device,
                                  NMConnection *connection,
-                                 GError **error);
+ GError **error);

Validates a given connection for a given NMDevice object and returns whether the connection may be activated with the device. For example if device @@ -2485,7 +2485,7 @@ compatibility of the given device and connection. But, in addition, it sets GError when FALSE is returned.

Parameters

-
+
@@ -2506,7 +2506,7 @@ against

- + @@ -2514,21 +2514,21 @@ against

Returns

-

TRUE if the connection may be activated with this device, FALSE +

TRUE if the connection may be activated with this device, FALSE if is incompatible with the device's capabilities and characteristics.


nm_device_get_setting_type ()

-
GType
+
GType
 nm_device_get_setting_type (NMDevice *device);

Gets the (primary) NMSetting subtype associated with connections that can be used on device .

Parameters

-

error

return location for a GError, or NULL

return location for a GError, or NULL

 
+
@@ -2568,7 +2568,7 @@ nm_lldp_neighbor_ref (

Parameters

-
+
@@ -2592,7 +2592,7 @@ nm_lldp_neighbor_unref (

Parameters

-
+
@@ -2616,7 +2616,7 @@ nm_lldp_neighbor_get_attr_names (

Parameters

-
+
@@ -2631,7 +2631,7 @@ nm_lldp_neighbor_get_attr_names (

Returns

-

a NULL-terminated array of attribute names.

+

a NULL-terminated array of attribute names.

[transfer full]

Since: 1.2

@@ -2639,7 +2639,7 @@ nm_lldp_neighbor_get_attr_names (

nm_lldp_neighbor_get_attr_string_value ()

-
gboolean
+
gboolean
 nm_lldp_neighbor_get_attr_string_value
                                (NMLldpNeighbor *neighbor,
                                 char *name,
@@ -2649,7 +2649,7 @@ nm_lldp_neighbor_get_attr_string_value
 

Parameters

-
+
@@ -2676,24 +2676,24 @@ nm_lldp_neighbor_get_attr_string_value

Returns

-

TRUE if a string attribute with name name -was found, FALSE otherwise

+

TRUE if a string attribute with name name +was found, FALSE otherwise

Since: 1.2


nm_lldp_neighbor_get_attr_uint_value ()

-
gboolean
+
gboolean
 nm_lldp_neighbor_get_attr_uint_value (NMLldpNeighbor *neighbor,
                                       char *name,
-                                      guint *out_value);
+ guint *out_value);

Gets the uint value of attribute with name name on neighbor

Parameters

-
+
@@ -2720,21 +2720,21 @@ nm_lldp_neighbor_get_attr_uint_value (

Returns

-

TRUE if a uint attribute with name name -was found, FALSE otherwise

+

TRUE if a uint attribute with name name +was found, FALSE otherwise

Since: 1.2


nm_lldp_neighbor_get_attr_type ()

-
const GVariantType *
+
const GVariantType *
 nm_lldp_neighbor_get_attr_type (NMLldpNeighbor *neighbor,
                                 char *name);

Get the type of an attribute.

Parameters

-
+
@@ -2756,7 +2756,7 @@ nm_lldp_neighbor_get_attr_type (

Returns

-

the GVariantType of the attribute with name name +

the GVariantType of the attribute with name name

Since: 1.2

@@ -2942,7 +2942,7 @@ nm_lldp_neighbor_get_attr_type (

The “autoconnect” property

-
  “autoconnect”              gboolean
+
  “autoconnect”              gboolean

Whether the device can auto-activate a connection.

Flags: Read / Write

Default value: TRUE

@@ -2950,7 +2950,7 @@ nm_lldp_neighbor_get_attr_type (

The “available-connections” property

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

The available connections of the device

Element-type: NMRemoteConnection

Flags: Read

@@ -2987,7 +2987,7 @@ nm_lldp_neighbor_get_attr_type (

The “driver” property

-
  “driver”                   gchar *
+
  “driver”                   gchar *

The driver of the device.

Flags: Read

Default value: NULL

@@ -2995,7 +2995,7 @@ nm_lldp_neighbor_get_attr_type (

The “driver-version” property

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

The version of the device driver.

Flags: Read

Default value: NULL

@@ -3003,8 +3003,8 @@ nm_lldp_neighbor_get_attr_type (

The “firmware-missing” property

-
  “firmware-missing”         gboolean
-

When TRUE indicates the device is likely missing firmware required +

  “firmware-missing”         gboolean
+

When TRUE indicates the device is likely missing firmware required for its operation.

Flags: Read

Default value: FALSE

@@ -3012,7 +3012,7 @@ for its operation.


The “firmware-version” property

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

The firmware version of the device.

Flags: Read

Default value: NULL

@@ -3020,7 +3020,7 @@ for its operation.


The “interface” property

-
  “interface”                gchar *
+
  “interface”                gchar *

The interface of the device.

Flags: Read

Default value: NULL

@@ -3028,7 +3028,7 @@ for its operation.


The “ip-interface” property

-
  “ip-interface”             gchar *
+
  “ip-interface”             gchar *

The IP interface of the device which should be used for all IP-related operations like addressing and routing.

Flags: Read

@@ -3051,14 +3051,14 @@ operations like addressing and routing.


The “lldp-neighbors” property

-
  “lldp-neighbors”           GPtrArray *
+
  “lldp-neighbors”           GPtrArray *

The LLDP neighbors.

Flags: Read


The “managed” property

-
  “managed”                  gboolean
+
  “managed”                  gboolean

Whether the device is managed by NetworkManager.

Flags: Read

Default value: FALSE

@@ -3066,7 +3066,7 @@ operations like addressing and routing.


The “metered” property

-
  “metered”                  guint
+
  “metered”                  guint

Whether the device is metered.

Flags: Read

Default value: 0

@@ -3075,7 +3075,7 @@ operations like addressing and routing.


The “mtu” property

-
  “mtu”                      guint
+
  “mtu”                      guint

The MTU of the device.

Flags: Read

Default value: 1500

@@ -3083,8 +3083,8 @@ operations like addressing and routing.


The “nm-plugin-missing” property

-
  “nm-plugin-missing”        gboolean
-

When TRUE indicates that the NetworkManager plugin for the device +

  “nm-plugin-missing”        gboolean
+

When TRUE indicates that the NetworkManager plugin for the device is not installed.

Flags: Read

Default value: FALSE

@@ -3093,7 +3093,7 @@ is not installed.


The “physical-port-id” property

-
  “physical-port-id”         gchar *
+
  “physical-port-id”         gchar *

The physical port ID of the device. (See nm_device_get_physical_port_id().)

Flags: Read

@@ -3102,7 +3102,7 @@ is not installed.


The “product” property

-
  “product”                  gchar *
+
  “product”                  gchar *

The product string of the device.

Flags: Read

Default value: NULL

@@ -3110,7 +3110,7 @@ is not installed.


The “real” property

-
  “real”                     gboolean
+
  “real”                     gboolean

Whether the device is real or is a placeholder device that could be created automatically by NetworkManager if one of its “available-connections” was activated.

@@ -3129,7 +3129,7 @@ be created automatically by NetworkManager if one of its

The “state-reason” property

-
  “state-reason”             guint
+
  “state-reason”             guint

The reason for the device state.

Flags: Read

Default value: 0

@@ -3137,7 +3137,7 @@ be created automatically by NetworkManager if one of its

The “udi” property

-
  “udi”                      gchar *
+
  “udi”                      gchar *

An operating-system specific device hardware identifier; this is not unique to a specific hardware device across reboots or hotplugs. It is an opaque string which for some device types (Bluetooth, Modem) @@ -3150,7 +3150,7 @@ request more information about the device from those services.


The “vendor” property

-
  “vendor”                   gchar *
+
  “vendor”                   gchar *

The vendor string of the device.

Flags: Read

Default value: NULL

@@ -3162,14 +3162,14 @@ request more information about the device from those services.

The “state-changed” signal

void
 user_function (NMDevice *device,
-               guint     new_state,
-               guint     old_state,
-               guint     reason,
-               gpointer  user_data)
+ guint new_state, + guint old_state, + guint reason, + gpointer user_data)

Notifies the state change of a NMDevice.

Parameters

-
+
@@ -3204,7 +3204,7 @@ user_function (
-

Flags: Run First

+

Flags: Run First

-- cgit 1.3.0-6-gf8a5