diff options
Diffstat (limited to 'docs/libnm-glib/html/NMDevice.html')
| -rw-r--r-- | docs/libnm-glib/html/NMDevice.html | 351 |
1 files changed, 205 insertions, 146 deletions
diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index 31672ab6..b19fba63 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -3,19 +3,19 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>NMDevice</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="index.html" title="libnm-glib Reference Manual"> -<link rel="up" href="ch01.html" title="libnm-glib Objects"> +<link rel="up" href="ch02.html" title="libnm-glib API Reference"> <link rel="prev" href="NMActiveConnection.html" title="NMActiveConnection"> <link rel="next" href="NMDeviceEthernet.html" title="NMDeviceEthernet"> -<meta name="generator" content="GTK-Doc V1.15 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.17 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> <tr valign="middle"> <td><a accesskey="p" href="NMActiveConnection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">libnm-glib Reference Manual</th> <td><a accesskey="n" href="NMDeviceEthernet.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> @@ -32,7 +32,7 @@ <a href="#NMDevice.signals" class="shortcut">Signals</a> </td></tr> </table> -<div class="refentry" title="NMDevice"> +<div class="refentry"> <a name="NMDevice"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> @@ -41,9 +41,10 @@ </td> <td valign="top" align="right"></td> </tr></table></div> -<div class="refsynopsisdiv" title="Synopsis"> +<div class="refsynopsisdiv"> <a name="NMDevice.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis">#define <a class="link" href="NMDevice.html#NM-DEVICE-UDI:CAPS" title="NM_DEVICE_UDI">NM_DEVICE_UDI</a> +<pre class="synopsis">#define <a class="link" href="NMDevice.html#NM-DEVICE-DEVICE-TYPE:CAPS" title="NM_DEVICE_DEVICE_TYPE">NM_DEVICE_DEVICE_TYPE</a> +#define <a class="link" href="NMDevice.html#NM-DEVICE-UDI:CAPS" title="NM_DEVICE_UDI">NM_DEVICE_UDI</a> #define <a class="link" href="NMDevice.html#NM-DEVICE-INTERFACE:CAPS" title="NM_DEVICE_INTERFACE">NM_DEVICE_INTERFACE</a> #define <a class="link" href="NMDevice.html#NM-DEVICE-IP-INTERFACE:CAPS" title="NM_DEVICE_IP_INTERFACE">NM_DEVICE_IP_INTERFACE</a> #define <a class="link" href="NMDevice.html#NM-DEVICE-DRIVER:CAPS" title="NM_DEVICE_DRIVER">NM_DEVICE_DRIVER</a> @@ -61,29 +62,32 @@ <a class="link" href="NMDevice.html#NMDeviceClass" title="NMDeviceClass">NMDeviceClass</a>; <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="NMDevice.html#nm-device-new" title="nm_device_new ()">nm_device_new</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGConnection.html#DBusGConnection"><span class="type">DBusGConnection</span></a> *connection</code></em>, <em class="parameter"><code>const <span class="type">char</span> *path</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-iface" title="nm_device_get_iface ()">nm_device_get_iface</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-ip-iface" title="nm_device_get_ip_iface ()">nm_device_get_ip_iface</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-udi" title="nm_device_get_udi ()">nm_device_get_udi</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-driver" title="nm_device_get_driver ()">nm_device_get_driver</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="NMDevice.html#nm-device-get-capabilities" title="nm_device_get_capabilities ()">nm_device_get_capabilities</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-iface" title="nm_device_get_iface ()">nm_device_get_iface</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-ip-iface" title="nm_device_get_ip_iface ()">nm_device_get_ip_iface</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<span class="returnvalue">NMDeviceType</span> <a class="link" href="NMDevice.html#nm-device-get-device-type" title="nm_device_get_device_type ()">nm_device_get_device_type</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-udi" title="nm_device_get_udi ()">nm_device_get_udi</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-driver" title="nm_device_get_driver ()">nm_device_get_driver</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<span class="returnvalue">NMDeviceCapabilities</span> <a class="link" href="NMDevice.html#nm-device-get-capabilities" title="nm_device_get_capabilities ()">nm_device_get_capabilities</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="NMDevice.html#nm-device-get-managed" title="nm_device_get_managed ()">nm_device_get_managed</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="NMDevice.html#nm-device-get-firmware-missing" title="nm_device_get_firmware_missing ()">nm_device_get_firmware_missing</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -<a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="returnvalue">NMIP4Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-ip4-config" title="nm_device_get_ip4_config ()">nm_device_get_ip4_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -<a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="returnvalue">NMDHCP4Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-dhcp4-config" title="nm_device_get_dhcp4_config ()">nm_device_get_dhcp4_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -<a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="returnvalue">NMIP6Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-ip6-config" title="nm_device_get_ip6_config ()">nm_device_get_ip6_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -<a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="returnvalue">NMDHCP6Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-dhcp6-config" title="nm_device_get_dhcp6_config ()">nm_device_get_dhcp6_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="returnvalue">NMIP4Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-ip4-config" title="nm_device_get_ip4_config ()">nm_device_get_ip4_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="returnvalue">NMDHCP4Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-dhcp4-config" title="nm_device_get_dhcp4_config ()">nm_device_get_dhcp4_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="returnvalue">NMIP6Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-ip6-config" title="nm_device_get_ip6_config ()">nm_device_get_ip6_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +<a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="returnvalue">NMDHCP6Config</span></a> * <a class="link" href="NMDevice.html#nm-device-get-dhcp6-config" title="nm_device_get_dhcp6_config ()">nm_device_get_dhcp6_config</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); <span class="returnvalue">NMDeviceState</span> <a class="link" href="NMDevice.html#nm-device-get-state" title="nm_device_get_state ()">nm_device_get_state</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-product" title="nm_device_get_product ()">nm_device_get_product</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-vendor" title="nm_device_get_vendor ()">nm_device_get_vendor</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-product" title="nm_device_get_product ()">nm_device_get_product</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="NMDevice.html#nm-device-get-vendor" title="nm_device_get_vendor ()">nm_device_get_vendor</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>); <span class="returnvalue">void</span> (<a class="link" href="NMDevice.html#NMDeviceDeactivateFn" title="NMDeviceDeactivateFn ()">*NMDeviceDeactivateFn</a>) (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); <span class="returnvalue">void</span> <a class="link" href="NMDevice.html#nm-device-disconnect" title="nm_device_disconnect ()">nm_device_disconnect</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, <em class="parameter"><code><a class="link" href="NMDevice.html#NMDeviceDeactivateFn" title="NMDeviceDeactivateFn ()"><span class="type">NMDeviceDeactivateFn</span></a> callback</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); +<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="NMDevice.html#nm-device-filter-connections" title="nm_device_filter_connections ()">nm_device_filter_connections</a> (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, + <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *connections</code></em>); </pre> </div> -<div class="refsect1" title="Object Hierarchy"> +<div class="refsect1"> <a name="NMDevice.object-hierarchy"></a><h2>Object Hierarchy</h2> <pre class="synopsis"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> @@ -91,14 +95,16 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev +----NMDevice +----<a class="link" href="NMDeviceEthernet.html" title="NMDeviceEthernet">NMDeviceEthernet</a> +----<a class="link" href="NMDeviceWifi.html" title="NMDeviceWifi">NMDeviceWifi</a> - +----<a class="link" href="NMSerialDevice.html" title="NMSerialDevice">NMSerialDevice</a> + +----<a class="link" href="NMDeviceModem.html" title="NMDeviceModem">NMDeviceModem</a> +----<a class="link" href="NMDeviceBt.html" title="NMDeviceBt">NMDeviceBt</a> + +----<a class="link" href="NMDeviceWimax.html" title="NMDeviceWimax">NMDeviceWimax</a> </pre> </div> -<div class="refsect1" title="Properties"> +<div class="refsect1"> <a name="NMDevice.properties"></a><h2>Properties</h2> <pre class="synopsis"> "<a class="link" href="NMDevice.html#NMDevice--capabilities" title='The "capabilities" property'>capabilities</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read + "<a class="link" href="NMDevice.html#NMDevice--device-type" title='The "device-type" property'>device-type</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only "<a class="link" href="NMDevice.html#NMDevice--dhcp4-config" title='The "dhcp4-config" property'>dhcp4-config</a>" <a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="type">NMDHCP4Config</span></a>* : Read "<a class="link" href="NMDevice.html#NMDevice--dhcp6-config" title='The "dhcp6-config" property'>dhcp6-config</a>" <a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="type">NMDHCP6Config</span></a>* : Read "<a class="link" href="NMDevice.html#NMDevice--driver" title='The "driver" property'>driver</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read @@ -114,20 +120,28 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev "<a class="link" href="NMDevice.html#NMDevice--vendor" title='The "vendor" property'>vendor</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read </pre> </div> -<div class="refsect1" title="Signals"> +<div class="refsect1"> <a name="NMDevice.signals"></a><h2>Signals</h2> <pre class="synopsis"> - "<a class="link" href="NMDevice.html#NMDevice-state-changed" title='The "state-changed" signal'>state-changed</a>" : Run First + "<a class="link" href="NMDevice.html#NMDevice-state-changed" title='The "state-changed" signal'>state-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> </pre> </div> -<div class="refsect1" title="Description"> +<div class="refsect1"> <a name="NMDevice.description"></a><h2>Description</h2> <p> </p> </div> -<div class="refsect1" title="Details"> +<div class="refsect1"> <a name="NMDevice.details"></a><h2>Details</h2> -<div class="refsect2" title="NM_DEVICE_UDI"> +<div class="refsect2"> +<a name="NM-DEVICE-DEVICE-TYPE:CAPS"></a><h3>NM_DEVICE_DEVICE_TYPE</h3> +<pre class="programlisting">#define NM_DEVICE_DEVICE_TYPE "device-type" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2"> <a name="NM-DEVICE-UDI:CAPS"></a><h3>NM_DEVICE_UDI</h3> <pre class="programlisting">#define NM_DEVICE_UDI "udi" </pre> @@ -135,7 +149,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_INTERFACE"> +<div class="refsect2"> <a name="NM-DEVICE-INTERFACE:CAPS"></a><h3>NM_DEVICE_INTERFACE</h3> <pre class="programlisting">#define NM_DEVICE_INTERFACE "interface" </pre> @@ -143,7 +157,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_IP_INTERFACE"> +<div class="refsect2"> <a name="NM-DEVICE-IP-INTERFACE:CAPS"></a><h3>NM_DEVICE_IP_INTERFACE</h3> <pre class="programlisting">#define NM_DEVICE_IP_INTERFACE "ip-interface" </pre> @@ -151,7 +165,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_DRIVER"> +<div class="refsect2"> <a name="NM-DEVICE-DRIVER:CAPS"></a><h3>NM_DEVICE_DRIVER</h3> <pre class="programlisting">#define NM_DEVICE_DRIVER "driver" </pre> @@ -159,7 +173,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_CAPABILITIES"> +<div class="refsect2"> <a name="NM-DEVICE-CAPABILITIES:CAPS"></a><h3>NM_DEVICE_CAPABILITIES</h3> <pre class="programlisting">#define NM_DEVICE_CAPABILITIES "capabilities" </pre> @@ -167,7 +181,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_MANAGED"> +<div class="refsect2"> <a name="NM-DEVICE-MANAGED:CAPS"></a><h3>NM_DEVICE_MANAGED</h3> <pre class="programlisting">#define NM_DEVICE_MANAGED "managed" </pre> @@ -175,7 +189,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_FIRMWARE_MISSING"> +<div class="refsect2"> <a name="NM-DEVICE-FIRMWARE-MISSING:CAPS"></a><h3>NM_DEVICE_FIRMWARE_MISSING</h3> <pre class="programlisting">#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing" </pre> @@ -183,7 +197,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_IP4_CONFIG"> +<div class="refsect2"> <a name="NM-DEVICE-IP4-CONFIG:CAPS"></a><h3>NM_DEVICE_IP4_CONFIG</h3> <pre class="programlisting">#define NM_DEVICE_IP4_CONFIG "ip4-config" </pre> @@ -191,7 +205,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_DHCP4_CONFIG"> +<div class="refsect2"> <a name="NM-DEVICE-DHCP4-CONFIG:CAPS"></a><h3>NM_DEVICE_DHCP4_CONFIG</h3> <pre class="programlisting">#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config" </pre> @@ -199,7 +213,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_IP6_CONFIG"> +<div class="refsect2"> <a name="NM-DEVICE-IP6-CONFIG:CAPS"></a><h3>NM_DEVICE_IP6_CONFIG</h3> <pre class="programlisting">#define NM_DEVICE_IP6_CONFIG "ip6-config" </pre> @@ -207,7 +221,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_DHCP6_CONFIG"> +<div class="refsect2"> <a name="NM-DEVICE-DHCP6-CONFIG:CAPS"></a><h3>NM_DEVICE_DHCP6_CONFIG</h3> <pre class="programlisting">#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config" </pre> @@ -215,7 +229,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_STATE"> +<div class="refsect2"> <a name="NM-DEVICE-STATE:CAPS"></a><h3>NM_DEVICE_STATE</h3> <pre class="programlisting">#define NM_DEVICE_STATE "state" </pre> @@ -223,7 +237,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_VENDOR"> +<div class="refsect2"> <a name="NM-DEVICE-VENDOR:CAPS"></a><h3>NM_DEVICE_VENDOR</h3> <pre class="programlisting">#define NM_DEVICE_VENDOR "vendor" </pre> @@ -231,7 +245,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NM_DEVICE_PRODUCT"> +<div class="refsect2"> <a name="NM-DEVICE-PRODUCT:CAPS"></a><h3>NM_DEVICE_PRODUCT</h3> <pre class="programlisting">#define NM_DEVICE_PRODUCT "product" </pre> @@ -239,14 +253,14 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="NMDevice"> +<div class="refsect2"> <a name="NMDevice-struct"></a><h3>NMDevice</h3> <pre class="programlisting">typedef struct _NMDevice NMDevice;</pre> <p> </p> </div> <hr> -<div class="refsect2" title="NMDeviceClass"> +<div class="refsect2"> <a name="NMDeviceClass"></a><h3>NMDeviceClass</h3> <pre class="programlisting">typedef struct { NMObjectClass parent; @@ -257,6 +271,9 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev NMDeviceState old_state, NMDeviceStateReason reason); + GSList * (*filter_connections) (NMDevice *device, + const GSList *connections); + /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); @@ -270,7 +287,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="NMDev </p> </div> <hr> -<div class="refsect2" title="nm_device_new ()"> +<div class="refsect2"> <a name="nm-device-new"></a><h3>nm_device_new ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * nm_device_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGConnection.html#DBusGConnection"><span class="type">DBusGConnection</span></a> *connection</code></em>, <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre> @@ -287,21 +304,20 @@ Creates a new <a class="link" href="NMDevice.html" title="NMDevice"><span class= </tr> <tr> <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>the DBus object path of the device -</td> +<td>the DBus object path of the device</td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> a new device +<td>a new device. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_iface ()"> +<div class="refsect2"> <a name="nm-device-get-iface"></a><h3>nm_device_get_iface ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_iface (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_iface (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the interface name of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -315,17 +331,16 @@ Gets the interface name of the <a class="link" href="NMDevice.html" title="NMDev </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the interface of the device. This is the internal string used by the -device, and must not be modified. -</td> +<td>the interface of the device. This is the internal string used by the +device, and must not be modified.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_ip_iface ()"> +<div class="refsect2"> <a name="nm-device-get-ip-iface"></a><h3>nm_device_get_ip_iface ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_ip_iface (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_ip_iface (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the IP interface name of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> over which IP traffic flows when the device is in the ACTIVATED state. @@ -340,17 +355,38 @@ when the device is in the ACTIVATED state. </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the IP traffic interface of the device. This is the internal string -used by the device, and must not be modified. +<td>the IP traffic interface of the device. This is the internal string +used by the device, and must not be modified.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="nm-device-get-device-type"></a><h3>nm_device_get_device_type ()</h3> +<pre class="programlisting"><span class="returnvalue">NMDeviceType</span> nm_device_get_device_type (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<p> +Returns the numeric type of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>, ie ethernet, wifi, etc. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td> +<td>a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> </td> </tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>the device type</td> +</tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_udi ()"> +<div class="refsect2"> <a name="nm-device-get-udi"></a><h3>nm_device_get_udi ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_udi (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_udi (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the Unique Device Identifier of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -364,18 +400,17 @@ Gets the Unique Device Identifier of the <a class="link" href="NMDevice.html" ti </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the Unique Device Identifier of the device. This identifier may be +<td>the Unique Device Identifier of the device. This identifier may be used to gather more information about the device from various operating -system services like udev or sysfs. -</td> +system services like udev or sysfs.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_driver ()"> +<div class="refsect2"> <a name="nm-device-get-driver"></a><h3>nm_device_get_driver ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_driver (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_driver (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the driver of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -389,17 +424,16 @@ Gets the driver of the <a class="link" href="NMDevice.html" title="NMDevice"><sp </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the driver of the device. This is the internal string used by the -device, and must not be modified. -</td> +<td>the driver of the device. This is the internal string used by the +device, and must not be modified.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_capabilities ()"> +<div class="refsect2"> <a name="nm-device-get-capabilities"></a><h3>nm_device_get_capabilities ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> nm_device_get_capabilities (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting"><span class="returnvalue">NMDeviceCapabilities</span> nm_device_get_capabilities (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the device' capabilities. </p> @@ -413,14 +447,13 @@ Gets the device' capabilities. </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the capabilities -</td> +<td>the capabilities</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_managed ()"> +<div class="refsect2"> <a name="nm-device-get-managed"></a><h3>nm_device_get_managed ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_device_get_managed (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> @@ -436,14 +469,14 @@ Whether the <a class="link" href="NMDevice.html" title="NMDevice"><span class="t </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the device is managed by NetworkManager -</td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the device is managed by NetworkManager</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_firmware_missing ()"> +<div class="refsect2"> <a name="nm-device-get-firmware-missing"></a><h3>nm_device_get_firmware_missing ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> nm_device_get_firmware_missing (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> @@ -460,17 +493,17 @@ to be missing. </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if firmware required for the device's operation is likely -to be missing. -</td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if firmware required for the device's operation is likely +to be missing.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_ip4_config ()"> +<div class="refsect2"> <a name="nm-device-get-ip4-config"></a><h3>nm_device_get_ip4_config ()</h3> -<pre class="programlisting"><a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="returnvalue">NMIP4Config</span></a> * nm_device_get_ip4_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting"><a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="returnvalue">NMIP4Config</span></a> * nm_device_get_ip4_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the current <a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="type">NMIP4Config</span></a> associated with the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -484,16 +517,16 @@ Gets the current <a class="link" href="NMIP4Config.html" title="NMIP4Config"><sp </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the <a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="type">NMIP4Config</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated. +<td>the <a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="type">NMIP4Config</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_dhcp4_config ()"> +<div class="refsect2"> <a name="nm-device-get-dhcp4-config"></a><h3>nm_device_get_dhcp4_config ()</h3> -<pre class="programlisting"><a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="returnvalue">NMDHCP4Config</span></a> * nm_device_get_dhcp4_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting"><a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="returnvalue">NMDHCP4Config</span></a> * nm_device_get_dhcp4_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the current <a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="type">NMDHCP4Config</span></a> associated with the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -507,17 +540,17 @@ Gets the current <a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config" </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the <span class="type">NMDHCPConfig</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated or not -using DHCP. +<td>the <span class="type">NMDHCPConfig</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated or not +using DHCP. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_ip6_config ()"> +<div class="refsect2"> <a name="nm-device-get-ip6-config"></a><h3>nm_device_get_ip6_config ()</h3> -<pre class="programlisting"><a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="returnvalue">NMIP6Config</span></a> * nm_device_get_ip6_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting"><a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="returnvalue">NMIP6Config</span></a> * nm_device_get_ip6_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the current <a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="type">NMIP6Config</span></a> associated with the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -531,16 +564,16 @@ Gets the current <a class="link" href="NMIP6Config.html" title="NMIP6Config"><sp </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the <a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="type">NMIP6Config</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated. +<td>the <a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="type">NMIP6Config</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_dhcp6_config ()"> +<div class="refsect2"> <a name="nm-device-get-dhcp6-config"></a><h3>nm_device_get_dhcp6_config ()</h3> -<pre class="programlisting"><a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="returnvalue">NMDHCP6Config</span></a> * nm_device_get_dhcp6_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting"><a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="returnvalue">NMDHCP6Config</span></a> * nm_device_get_dhcp6_config (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the current <a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="type">NMDHCP6Config</span></a> associated with the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -554,15 +587,15 @@ Gets the current <a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config" </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the <span class="type">NMDHCPConfig</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated or not -using DHCP. +<td>the <span class="type">NMDHCPConfig</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the device is not activated or not +using DHCP. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_state ()"> +<div class="refsect2"> <a name="nm-device-get-state"></a><h3>nm_device_get_state ()</h3> <pre class="programlisting"><span class="returnvalue">NMDeviceState</span> nm_device_get_state (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> @@ -578,16 +611,15 @@ Gets the current <a class="link" href="NMDevice.html" title="NMDevice"><span cla </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the current device state -</td> +<td>the current device state</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_product ()"> +<div class="refsect2"> <a name="nm-device-get-product"></a><h3>nm_device_get_product ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_product (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_product (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the product string of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -601,17 +633,16 @@ Gets the product string of the <a class="link" href="NMDevice.html" title="NMDev </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the product name of the device. This is the internal string used by the -device, and must not be modified. -</td> +<td>the product name of the device. This is the internal string used by the +device, and must not be modified.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_get_vendor ()"> +<div class="refsect2"> <a name="nm-device-get-vendor"></a><h3>nm_device_get_vendor ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_vendor (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> +<pre class="programlisting">const <span class="returnvalue">char</span> * nm_device_get_vendor (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>);</pre> <p> Gets the vendor string of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -625,78 +656,94 @@ Gets the vendor string of the <a class="link" href="NMDevice.html" title="NMDevi </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> the vendor name of the device. This is the internal string used by the -device, and must not be modified. -</td> +<td>the vendor name of the device. This is the internal string used by the +device, and must not be modified.</td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="NMDeviceDeactivateFn ()"> +<div class="refsect2"> <a name="NMDeviceDeactivateFn"></a><h3>NMDeviceDeactivateFn ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> (*NMDeviceDeactivateFn) (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> <p> </p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-device-disconnect"></a><h3>nm_device_disconnect ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> nm_device_disconnect (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, + <em class="parameter"><code><a class="link" href="NMDevice.html#NMDeviceDeactivateFn" title="NMDeviceDeactivateFn ()"><span class="type">NMDeviceDeactivateFn</span></a> callback</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> +<p> +Disconnects the device if currently connected, and prevents the device from +automatically connecting to networks until the next manual network connection +request. +</p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td> -<td> +<td>a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> </td> </tr> <tr> -<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> -<td> +<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> +<td>callback to be called when disconnect operation completes. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td> +<td>caller-specific data passed to <em class="parameter"><code>callback</code></em> </td> </tr> </tbody> </table></div> </div> <hr> -<div class="refsect2" title="nm_device_disconnect ()"> -<a name="nm-device-disconnect"></a><h3>nm_device_disconnect ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> nm_device_disconnect (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, - <em class="parameter"><code><a class="link" href="NMDevice.html#NMDeviceDeactivateFn" title="NMDeviceDeactivateFn ()"><span class="type">NMDeviceDeactivateFn</span></a> callback</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> +<div class="refsect2"> +<a name="nm-device-filter-connections"></a><h3>nm_device_filter_connections ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * nm_device_filter_connections (<em class="parameter"><code><a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device</code></em>, + <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *connections</code></em>);</pre> <p> -Disconnects the device if currently connected, and prevents the device from -automatically connecting to networks until the next manual network connection -request. +Filters a given list of connections for a given <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> object and return +connections which may be activated with the device. For example if <em class="parameter"><code>device</code></em> +is a WiFi device that supports only WEP encryption, the returned list will +contain any WiFi connections in <em class="parameter"><code>connections</code></em> that allow connection to +unencrypted or WEP-enabled SSIDs. The returned list will not contain +Ethernet, Bluetooth, WiFi WPA connections, or any other connection that is +incompatible with the device. </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td> -<td>a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> -</td> +<td>an <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> to filter connections for</td> </tr> <tr> -<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> -<td>callback to be called when disconnect operation completes -</td> +<td><p><span class="term"><em class="parameter"><code>connections</code></em> :</span></p></td> +<td>a list of <span class="type">NMConnection</span> objects to filter</td> </tr> <tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>caller-specific data passed to <em class="parameter"><code>callback</code></em> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a +list of <span class="type">NMConnection</span> objects that could be activated with the given <em class="parameter"><code>device</code></em>. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> when it is no longer required. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> NetworkManager.Connection]</span> </td> </tr> </tbody> </table></div> </div> </div> -<div class="refsect1" title="Property Details"> +<div class="refsect1"> <a name="NMDevice.property-details"></a><h2>Property Details</h2> -<div class="refsect2" title='The "capabilities" property'> +<div class="refsect2"> <a name="NMDevice--capabilities"></a><h3>The <code class="literal">"capabilities"</code> property</h3> <pre class="programlisting"> "capabilities" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> <p> @@ -705,7 +752,16 @@ The capabilities of the device. <p>Default value: 0</p> </div> <hr> -<div class="refsect2" title='The "dhcp4-config" property'> +<div class="refsect2"> +<a name="NMDevice--device-type"></a><h3>The <code class="literal">"device-type"</code> property</h3> +<pre class="programlisting"> "device-type" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre> +<p> +The numeric type of the device. +</p> +<p>Default value: 0</p> +</div> +<hr> +<div class="refsect2"> <a name="NMDevice--dhcp4-config"></a><h3>The <code class="literal">"dhcp4-config"</code> property</h3> <pre class="programlisting"> "dhcp4-config" <a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class="type">NMDHCP4Config</span></a>* : Read</pre> <p> @@ -713,7 +769,7 @@ The <a class="link" href="NMDHCP4Config.html" title="NMDHCP4Config"><span class= </p> </div> <hr> -<div class="refsect2" title='The "dhcp6-config" property'> +<div class="refsect2"> <a name="NMDevice--dhcp6-config"></a><h3>The <code class="literal">"dhcp6-config"</code> property</h3> <pre class="programlisting"> "dhcp6-config" <a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class="type">NMDHCP6Config</span></a>* : Read</pre> <p> @@ -721,7 +777,7 @@ The <a class="link" href="NMDHCP6Config.html" title="NMDHCP6Config"><span class= </p> </div> <hr> -<div class="refsect2" title='The "driver" property'> +<div class="refsect2"> <a name="NMDevice--driver"></a><h3>The <code class="literal">"driver"</code> property</h3> <pre class="programlisting"> "driver" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> @@ -730,7 +786,7 @@ The driver of the device. <p>Default value: NULL</p> </div> <hr> -<div class="refsect2" title='The "firmware-missing" property'> +<div class="refsect2"> <a name="NMDevice--firmware-missing"></a><h3>The <code class="literal">"firmware-missing"</code> property</h3> <pre class="programlisting"> "firmware-missing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre> <p> @@ -740,7 +796,7 @@ for its operation. <p>Default value: FALSE</p> </div> <hr> -<div class="refsect2" title='The "interface" property'> +<div class="refsect2"> <a name="NMDevice--interface"></a><h3>The <code class="literal">"interface"</code> property</h3> <pre class="programlisting"> "interface" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> @@ -749,7 +805,7 @@ The interface of the device. <p>Default value: NULL</p> </div> <hr> -<div class="refsect2" title='The "ip-interface" property'> +<div class="refsect2"> <a name="NMDevice--ip-interface"></a><h3>The <code class="literal">"ip-interface"</code> property</h3> <pre class="programlisting"> "ip-interface" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> @@ -759,7 +815,7 @@ operations like addressing and routing. <p>Default value: NULL</p> </div> <hr> -<div class="refsect2" title='The "ip4-config" property'> +<div class="refsect2"> <a name="NMDevice--ip4-config"></a><h3>The <code class="literal">"ip4-config"</code> property</h3> <pre class="programlisting"> "ip4-config" <a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="type">NMIP4Config</span></a>* : Read</pre> <p> @@ -767,7 +823,7 @@ The <a class="link" href="NMIP4Config.html" title="NMIP4Config"><span class="typ </p> </div> <hr> -<div class="refsect2" title='The "ip6-config" property'> +<div class="refsect2"> <a name="NMDevice--ip6-config"></a><h3>The <code class="literal">"ip6-config"</code> property</h3> <pre class="programlisting"> "ip6-config" <a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="type">NMIP6Config</span></a>* : Read</pre> <p> @@ -775,7 +831,7 @@ The <a class="link" href="NMIP6Config.html" title="NMIP6Config"><span class="typ </p> </div> <hr> -<div class="refsect2" title='The "managed" property'> +<div class="refsect2"> <a name="NMDevice--managed"></a><h3>The <code class="literal">"managed"</code> property</h3> <pre class="programlisting"> "managed" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre> <p> @@ -784,7 +840,7 @@ Whether the device is managed by NetworkManager. <p>Default value: FALSE</p> </div> <hr> -<div class="refsect2" title='The "product" property'> +<div class="refsect2"> <a name="NMDevice--product"></a><h3>The <code class="literal">"product"</code> property</h3> <pre class="programlisting"> "product" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> @@ -793,7 +849,7 @@ The product string of the device. <p>Default value: NULL</p> </div> <hr> -<div class="refsect2" title='The "state" property'> +<div class="refsect2"> <a name="NMDevice--state"></a><h3>The <code class="literal">"state"</code> property</h3> <pre class="programlisting"> "state" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> <p> @@ -802,16 +858,21 @@ The state of the device. <p>Default value: 0</p> </div> <hr> -<div class="refsect2" title='The "udi" property'> +<div class="refsect2"> <a name="NMDevice--udi"></a><h3>The <code class="literal">"udi"</code> property</h3> <pre class="programlisting"> "udi" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> -The Unique Device Identifier of the device. +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) +contains an identifier provided by the underlying hardware service daemon +such as Bluez or ModemManager, and clients can use this property to +request more information about the device from those services. </p> <p>Default value: NULL</p> </div> <hr> -<div class="refsect2" title='The "vendor" property'> +<div class="refsect2"> <a name="NMDevice--vendor"></a><h3>The <code class="literal">"vendor"</code> property</h3> <pre class="programlisting"> "vendor" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> <p> @@ -820,15 +881,15 @@ The vendor string of the device. <p>Default value: NULL</p> </div> </div> -<div class="refsect1" title="Signal Details"> +<div class="refsect1"> <a name="NMDevice.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2" title='The "state-changed" signal'> +<div class="refsect2"> <a name="NMDevice-state-changed"></a><h3>The <code class="literal">"state-changed"</code> signal</h3> <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> *device, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> state, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg2, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg3, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre> + <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> <p> Notifies the state change of a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a>. </p> @@ -837,13 +898,11 @@ Notifies the state change of a <a class="link" href="NMDevice.html" title="NMDev <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td> -<td>the client that received the signal -</td> +<td>the client that received the signal</td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td> -<td>the new state of the device -</td> +<td>the new state of the device</td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> @@ -856,6 +915,6 @@ Notifies the state change of a <a class="link" href="NMDevice.html" title="NMDev </div> <div class="footer"> <hr> - Generated by GTK-Doc V1.15</div> + Generated by GTK-Doc V1.17</div> </body> </html> \ No newline at end of file |