From 867254ea7c2b193fecf8cd36cc6e5dc53c290d92 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 29 Jun 2012 20:12:44 +0200 Subject: Imported Upstream version 0.9.5.95 --- docs/libnm-glib/html/NMDevice.html | 212 ++++++++++++++++++++++++++++++++++++- 1 file changed, 208 insertions(+), 4 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 e507f9e0..5c6e7152 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -51,12 +51,15 @@ GError *error, gpointer user_data); #define NM_DEVICE_ACTIVE_CONNECTION +#define NM_DEVICE_AUTOCONNECT #define NM_DEVICE_CAPABILITIES #define NM_DEVICE_DEVICE_TYPE #define NM_DEVICE_DHCP4_CONFIG #define NM_DEVICE_DHCP6_CONFIG #define NM_DEVICE_DRIVER +#define NM_DEVICE_DRIVER_VERSION #define NM_DEVICE_FIRMWARE_MISSING +#define NM_DEVICE_FIRMWARE_VERSION #define NM_DEVICE_INTERFACE #define NM_DEVICE_IP4_CONFIG #define NM_DEVICE_IP6_CONFIG @@ -67,6 +70,9 @@ #define NM_DEVICE_STATE_REASON #define NM_DEVICE_UDI #define NM_DEVICE_VENDOR +gboolean nm_device_connection_compatible (NMDevice *device, + NMConnection *connection, + GError **error); gboolean nm_device_connection_valid (NMDevice *device, NMConnection *connection); void nm_device_disconnect (NMDevice *device, @@ -75,12 +81,15 @@ GSList * nm_device_filter_connections (NMDevice *device, const GSList *connections); NMActiveConnection * nm_device_get_active_connection (NMDevice *device); +gboolean nm_device_get_autoconnect (NMDevice *device); NMDeviceCapabilities nm_device_get_capabilities (NMDevice *device); NMDeviceType nm_device_get_device_type (NMDevice *device); NMDHCP4Config * nm_device_get_dhcp4_config (NMDevice *device); NMDHCP6Config * nm_device_get_dhcp6_config (NMDevice *device); const char * nm_device_get_driver (NMDevice *device); +const char * nm_device_get_driver_version (NMDevice *device); gboolean nm_device_get_firmware_missing (NMDevice *device); +const char * nm_device_get_firmware_version (NMDevice *device); const char * nm_device_get_iface (NMDevice *device); NMIP4Config * nm_device_get_ip4_config (NMDevice *device); NMIP6Config * nm_device_get_ip6_config (NMDevice *device); @@ -94,6 +103,8 @@ const char * char * nm_device_get_vendor (NMDevice *device); GObject * nm_device_new (DBusGConnection *connection, const char *path); +void nm_device_set_autoconnect (NMDevice *device, + gboolean autoconnect);
@@ -107,10 +118,10 @@ const char * NMDeviceModem +----NMDeviceBt +----NMDeviceWimax - +----NMDeviceOlpcMesh - +----NMDeviceInfiniband - +----NMDeviceBond - +----NMDeviceVlan + +----NMDeviceOlpcMesh + +----NMDeviceInfiniband + +----NMDeviceBond + +----NMDeviceVlan
@@ -123,12 +134,15 @@ NMDevice implements

Properties

   "active-connection"        NMActiveConnection*   : Read
+  "autoconnect"              gboolean              : Read / Write
   "capabilities"             guint                 : Read
   "device-type"              guint                 : Read
   "dhcp4-config"             NMDHCP4Config*        : Read
   "dhcp6-config"             NMDHCP6Config*        : Read
   "driver"                   gchar*                : Read
+  "driver-version"           gchar*                : Read
   "firmware-missing"         gboolean              : Read
+  "firmware-version"         gchar*                : Read
   "interface"                gchar*                : Read
   "ip-interface"             gchar*                : Read
   "ip4-config"               NMIP4Config*          : Read
@@ -207,6 +221,14 @@ NMDevice implements
 

+

NM_DEVICE_AUTOCONNECT

+
#define NM_DEVICE_AUTOCONNECT "autoconnect"
+
+

+

+
+
+

NM_DEVICE_CAPABILITIES

#define NM_DEVICE_CAPABILITIES "capabilities"
 
@@ -247,6 +269,14 @@ NMDevice implements

+

NM_DEVICE_DRIVER_VERSION

+
#define NM_DEVICE_DRIVER_VERSION "driver-version"
+
+

+

+
+
+

NM_DEVICE_FIRMWARE_MISSING

#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
 
@@ -255,6 +285,14 @@ NMDevice implements

+

NM_DEVICE_FIRMWARE_VERSION

+
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
+
+

+

+
+
+

NM_DEVICE_INTERFACE

#define NM_DEVICE_INTERFACE "interface"
 
@@ -335,6 +373,52 @@ NMDevice implements

+

nm_device_connection_compatible ()

+
gboolean            nm_device_connection_compatible     (NMDevice *device,
+                                                         NMConnection *connection,
+                                                         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 is a WiFi device that supports only WEP encryption, the connection +will only be valid if it is a WiFi connection which describes a WEP or open +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. +

+

+This function does the same as nm_device_connection_valid(), i.e. checking +compatibility of the given device and connection. But, in addition, it sets +GError when FALSE is returned. +

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

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device +

error :

return location for a GError, or NULL +

Returns :

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

nm_device_connection_valid ()

gboolean            nm_device_connection_valid          (NMDevice *device,
                                                          NMConnection *connection);
@@ -466,6 +550,29 @@ not part of an active connection. [ +

nm_device_get_autoconnect ()

+
gboolean            nm_device_get_autoconnect           (NMDevice *device);
+

+Whether the NMDevice can be autoconnected. +

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

device :

a NMDevice +

Returns :

+TRUE if the device is allowed to be autoconnected
+
+
+

nm_device_get_capabilities ()

NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);

@@ -581,6 +688,29 @@ device, and must not be modified.


+

nm_device_get_driver_version ()

+
const char *        nm_device_get_driver_version        (NMDevice *device);
+

+Gets the driver version of the NMDevice. +

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

device :

a NMDevice +

Returns :

the version of the device driver. This is the internal string used by the +device, and must not be modified.
+
+
+

nm_device_get_firmware_missing ()

gboolean            nm_device_get_firmware_missing      (NMDevice *device);

@@ -606,6 +736,29 @@ to be missing.


+

nm_device_get_firmware_version ()

+
const char *        nm_device_get_firmware_version      (NMDevice *device);
+

+Gets the firmware version of the NMDevice. +

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

device :

a NMDevice +

Returns :

the firmware version of the device. This is the internal string used by the +device, and must not be modified.
+
+
+

nm_device_get_iface ()

const char *        nm_device_get_iface                 (NMDevice *device);

@@ -869,6 +1022,30 @@ Creates a new

+
+
+

nm_device_set_autoconnect ()

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

+Enables or disables automatic activation of the NMDevice. +

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

device :

a NMDevice +

autoconnect :

+TRUE to enable autoconnecting
+

Property Details

@@ -881,6 +1058,15 @@ The
+

The "autoconnect" property

+
  "autoconnect"              gboolean              : Read / Write
+

+Whether the device can auto-activate a connection. +

+

Default value: TRUE

+
+
+

The "capabilities" property

  "capabilities"             guint                 : Read

@@ -924,6 +1110,15 @@ The driver of the device.


+

The "driver-version" property

+
  "driver-version"           gchar*                : Read
+

+The version of the device driver. +

+

Default value: NULL

+
+
+

The "firmware-missing" property

  "firmware-missing"         gboolean              : Read

@@ -934,6 +1129,15 @@ for its operation.


+

The "firmware-version" property

+
  "firmware-version"         gchar*                : Read
+

+The firmware version of the device. +

+

Default value: NULL

+
+
+

The "interface" property

  "interface"                gchar*                : Read

-- cgit 1.3.0-6-gf8a5