From 494f296a3baab08522617b24b1f126d8f9a17502 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 20 Jan 2016 16:26:51 +0100 Subject: Imported Upstream version 1.1.90 --- docs/libnm-glib/html/NMDevice.html | 191 ++++++++++++++++++++++++++++--------- 1 file changed, 146 insertions(+), 45 deletions(-) (limited to 'docs/libnm-glib/html/NMDevice.html') diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index 79f87a5d..7506b557 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -140,6 +140,14 @@ +void + + +nm_device_set_managed () + + + + gboolean @@ -249,6 +257,14 @@ + +gboolean + + +nm_device_is_real () + + + const char * @@ -462,6 +478,11 @@ Read +gboolean +real +Read + + guint state Read @@ -551,6 +572,10 @@ #define +NM_DEVICE_REAL + + +#define NM_DEVICE_MANAGED @@ -986,12 +1011,43 @@ nm_device_get_managed ( +

nm_device_set_managed ()

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

Enables or disables management of NMDevice by NetworkManager.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

device

a NMDevice

 

managed

TRUE to make the device managed by NetworkManager.

 
+
+

Since: 1.2

+ +
+

nm_device_get_autoconnect ()

gboolean
 nm_device_get_autoconnect (NMDevice *device);

Whether the NMDevice can be autoconnected.

-

Parameters

+

Parameters

@@ -1006,7 +1062,7 @@ nm_device_get_autoconnect ( -

Returns

+

Returns

TRUE if the device is allowed to be autoconnected

@@ -1018,7 +1074,7 @@ nm_device_set_autoconnect (gboolean autoconnect);

Enables or disables automatic activation of the NMDevice.

-

Parameters

+

Parameters

@@ -1048,7 +1104,7 @@ nm_device_get_firmware_missing (Indicates that firmware required for the device's operation is likely to be missing.

-

Parameters

+

Parameters

@@ -1063,7 +1119,7 @@ to be missing.

-

Returns

+

Returns

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

@@ -1078,7 +1134,7 @@ nm_device_get_ip4_config (nm_active_connection_get_ip4_config(), which also works with VPN connections.

-

Parameters

+

Parameters

@@ -1093,7 +1149,7 @@ connections.

-

Returns

+

Returns

the NMIP4Config or NULL if the device is not activated.

[transfer none]

@@ -1108,7 +1164,7 @@ nm_device_get_dhcp4_config (nm_active_connection_get_dhcp4_config(), which also works with VPN connections.

-

Parameters

+

Parameters

@@ -1123,7 +1179,7 @@ connections.

-

Returns

+

Returns

the NMDHCP4Config or NULL if the device is not activated or not using DHCP.

[transfer none]

@@ -1139,7 +1195,7 @@ nm_device_get_ip6_config (nm_active_connection_get_ip6_config(), which also works with VPN connections.

-

Parameters

+

Parameters

@@ -1154,7 +1210,7 @@ connections.

-

Returns

+

Returns

the NMIP6Config or NULL if the device is not activated.

[transfer none]

@@ -1169,7 +1225,7 @@ nm_device_get_dhcp6_config (nm_active_connection_get_dhcp6_config(), which also works with VPN connections.

-

Parameters

+

Parameters

@@ -1184,7 +1240,7 @@ connections.

-

Returns

+

Returns

the NMDHCP6Config or NULL if the device is not activated or not using DHCP.

[transfer none]

@@ -1197,7 +1253,7 @@ using DHCP.

nm_device_get_state (NMDevice *device);

Gets the current NMDevice state.

-

Parameters

+

Parameters

@@ -1212,7 +1268,7 @@ nm_device_get_state ( -

Returns

+

Returns

the current device state

@@ -1226,7 +1282,7 @@ nm_device_get_state_reason (reason argument).

-

Parameters

+

Parameters

@@ -1248,7 +1304,7 @@ the state (reason
-

Returns

+

Returns

the current device state

@@ -1259,7 +1315,7 @@ the state (reason nm_device_get_active_connection (NMDevice *device);

Gets the NMActiveConnection object which owns this device during activation.

-

Parameters

+

Parameters

@@ -1274,7 +1330,7 @@ nm_device_get_active_connection (
-

Returns

+

Returns

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

[transfer none]

@@ -1289,7 +1345,7 @@ nm_device_get_available_connections (device .

-

Parameters

+

Parameters

@@ -1304,7 +1360,7 @@ be activated on device
-

Returns

+

Returns

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

@@ -1322,7 +1378,7 @@ 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

+

Parameters

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

-

Returns

+

Returns

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.

@@ -1351,7 +1407,7 @@ must not be modified.

nm_device_get_mtu (NMDevice *device);

Gets the MTU of the NMDevice.

-

Parameters

+

Parameters

@@ -1366,7 +1422,7 @@ nm_device_get_mtu ( -

Returns

+

Returns

the MTU of the device.

Since: 0.9.10

@@ -1378,7 +1434,7 @@ nm_device_get_mtu (NMDevice *device);

Whether the device is a software device.

-

Parameters

+

Parameters

@@ -1393,7 +1449,7 @@ nm_device_is_software ( -

Returns

+

Returns

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

@@ -1401,12 +1457,40 @@ is a software device, FALSE if it is a hardware dev
+

nm_device_is_real ()

+
gboolean
+nm_device_is_real (NMDevice *device);
+
+

Parameters

+
+++++ + + + + + +

device

a NMDevice

 
+
+
+

Returns

+

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.

+
+

Since: 1.2

+
+
+

nm_device_get_product ()

const char *
 nm_device_get_product (NMDevice *device);

Gets the product string of the NMDevice.

-

Parameters

+

Parameters

@@ -1421,7 +1505,7 @@ nm_device_get_product ( -

Returns

+

Returns

the product name of the device. This is the internal string used by the device, and must not be modified.

@@ -1433,7 +1517,7 @@ device, and must not be modified.

nm_device_get_vendor (NMDevice *device);

Gets the vendor string of the NMDevice.

-

Parameters

+

Parameters

@@ -1448,7 +1532,7 @@ nm_device_get_vendor ( -

Returns

+

Returns

the vendor name of the device. This is the internal string used by the device, and must not be modified.

@@ -1461,7 +1545,7 @@ nm_device_get_description (device , based on its vendor and product names.

-

Parameters

+

Parameters

@@ -1476,7 +1560,7 @@ nm_device_get_description ( -

Returns

+

Returns

a description of device . If either the vendor or the product name is unknown, this returns the interface name.

@@ -1493,7 +1577,7 @@ nm_device_disambiguate_names (devices .

-

Parameters

+

Parameters

@@ -1516,7 +1600,7 @@ devices in devices
-

Returns

+

Returns

the device names.

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

@@ -1541,7 +1625,7 @@ nm_device_disconnect ( -

Parameters

+

Parameters

@@ -1579,7 +1663,7 @@ nm_device_delete (gpointer user_data);

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

-

Parameters

+

Parameters

@@ -1626,7 +1710,7 @@ Ethernet, Bluetooth, Wi-Fi WPA connections, or any other connection that is incompatible with the device. To get the full list of connections see nm_remote_settings_list_connections().

-

Parameters

+

Parameters

@@ -1648,7 +1732,7 @@ incompatible with the device. To get the full list of connections see
-

Returns

+

Returns

a list of NMConnection objects that could be activated with the given device . @@ -1673,7 +1757,7 @@ network, and will not be valid if it describes a WPA network, or if it is an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the device.

-

Parameters

+

Parameters

@@ -1697,7 +1781,7 @@ against

-

Returns

+

Returns

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

@@ -1721,7 +1805,7 @@ device.

compatibility of the given device and connection. But, in addition, it sets GError when FALSE is returned.

-

Parameters

+

Parameters

@@ -1750,7 +1834,7 @@ against

-

Returns

+

Returns

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

@@ -1764,7 +1848,7 @@ nm_device_get_setting_type (device .

-

Parameters

+

Parameters

@@ -1779,7 +1863,7 @@ that can be used on device
-

Returns

+

Returns

device 's associated NMSetting type

@@ -1883,6 +1967,12 @@ that can be used on device

+

NM_DEVICE_REAL

+
#define NM_DEVICE_REAL "real"
+
+
+
+

NM_DEVICE_MANAGED

#define NM_DEVICE_MANAGED "managed"
 
@@ -2127,6 +2217,17 @@ operations like addressing and routing.


+

The “real” property

+
  “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.

+

Flags: Read

+

Default value: FALSE

+

Since: 1.2

+
+
+

The “state” property

  “state”                    guint

The state of the device.

-- cgit 1.3.0-6-gf8a5