summary refs log tree commit diff
path: root/docs/libnm/html/NMDevice.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libnm/html/NMDevice.html')
-rw-r--r--docs/libnm/html/NMDevice.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/libnm/html/NMDevice.html b/docs/libnm/html/NMDevice.html
index 5edef2c9..7a7cf8c5 100644
--- a/docs/libnm/html/NMDevice.html
+++ b/docs/libnm/html/NMDevice.html
@@ -73,6 +73,13 @@
 <td class="function_type">const <span class="returnvalue">char</span> *
 </td>
 <td class="function_name">
+<a class="link" href="NMDevice.html#nm-device-get-path" title="nm_device_get_path ()">nm_device_get_path</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
 <a class="link" href="NMDevice.html#nm-device-get-driver" title="nm_device_get_driver ()">nm_device_get_driver</a> <span class="c_punctuation">()</span>
 </td>
 </tr>
@@ -527,6 +534,10 @@
 </tr>
 <tr>
 <td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="NMDevice.html#NM-DEVICE-PATH:CAPS" title="NM_DEVICE_PATH">NM_DEVICE_PATH</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
 <td class="function_name"><a class="link" href="NMDevice.html#NM-DEVICE-INTERFACE:CAPS" title="NM_DEVICE_INTERFACE">NM_DEVICE_INTERFACE</a></td>
 </tr>
 <tr>
@@ -765,6 +776,35 @@ system services like udev or sysfs.</p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="nm-device-get-path"></a><h3>nm_device_get_path ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+nm_device_get_path (<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 path of the <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a> as exposed by the udev property ID_PATH.</p>
+<div class="refsect3">
+<a name="nm-device-get-path.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>device</p></td>
+<td class="parameter_description"><p>a <a class="link" href="NMDevice.html" title="NMDevice"><span class="type">NMDevice</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="nm-device-get-path.returns"></a><h4>Returns</h4>
+<p> the path of the device.</p>
+<p>The string is backslash escaped (C escaping) for invalid characters. The escaping
+can be reverted with <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strcompress"><code class="function">g_strcompress()</code></a>, however the result may not be valid UTF-8.</p>
+</div>
+<p class="since">Since: 1.26</p>
+</div>
+<hr>
+<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>
@@ -2749,6 +2789,12 @@ not found. </p>
 </div>
 <hr>
 <div class="refsect2">
+<a name="NM-DEVICE-PATH:CAPS"></a><h3>NM_DEVICE_PATH</h3>
+<pre class="programlisting">#define NM_DEVICE_PATH "path"
+</pre>
+</div>
+<hr>
+<div class="refsect2">
 <a name="NM-DEVICE-INTERFACE:CAPS"></a><h3>NM_DEVICE_INTERFACE</h3>
 <pre class="programlisting">#define NM_DEVICE_INTERFACE "interface"
 </pre>