diff options
Diffstat (limited to 'docs/libnm/html/libnm-nm-utils.html')
| -rw-r--r-- | docs/libnm/html/libnm-nm-utils.html | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/docs/libnm/html/libnm-nm-utils.html b/docs/libnm/html/libnm-nm-utils.html index ff4f74e8..bc3dade4 100644 --- a/docs/libnm/html/libnm-nm-utils.html +++ b/docs/libnm/html/libnm-nm-utils.html @@ -7,7 +7,7 @@ <link rel="home" href="index.html" title="libnm Reference Manual"> <link rel="up" href="ch05.html" title="Utility API Reference"> <link rel="prev" href="libnm-nm-keyfile.html" title="nm-keyfile"> -<link rel="next" href="libnm-nm-version.html" title="nm-version"> +<link rel="next" href="libnm-nm-conn-utils.html" title="nm-conn-utils"> <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> @@ -21,7 +21,7 @@ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="ch05.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="libnm-nm-keyfile.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> -<td><a accesskey="n" href="libnm-nm-version.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +<td><a accesskey="n" href="libnm-nm-conn-utils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="libnm-nm-utils"></a><div class="titlepage"></div> @@ -615,6 +615,14 @@ <a class="link" href="libnm-nm-utils.html#nm-utils-base64secret-decode" title="nm_utils_base64secret_decode ()">nm_utils_base64secret_decode</a> <span class="c_punctuation">()</span> </td> </tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libnm-nm-utils.html#nm-utils-ensure-gtypes" title="nm_utils_ensure_gtypes ()">nm_utils_ensure_gtypes</a> <span class="c_punctuation">()</span> +</td> +</tr> </tbody> </table></div> </div> @@ -1594,7 +1602,7 @@ include additional attributes.</p> . </p> <p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> </div> -<p class="since">Since: 1.42, 1.40.4</p> +<p class="since">Since: 1.42</p> </div> <hr> <div class="refsect2"> @@ -1634,7 +1642,7 @@ objects.</p> <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="NMSettingIPConfig.html#NMIPAddress"><span class="type">NMIPAddress</span></a> objects. </p> <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> NMIPAddress]</span></p> </div> -<p class="since">Since: 1.42, 1.40.4</p> +<p class="since">Since: 1.42</p> </div> <hr> <div class="refsect2"> @@ -1666,7 +1674,7 @@ prefix, next hop, metric, and additional attributes).</p> . </p> <p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> </div> -<p class="since">Since: 1.42, 1.40.4</p> +<p class="since">Since: 1.42</p> </div> <hr> <div class="refsect2"> @@ -1706,7 +1714,7 @@ prefix, next hop, metric, and additional attributes) into a <a href="https://dev <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="NMSettingIPConfig.html#NMIPRoute"><span class="type">NMIPRoute</span></a> objects. </p> <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> NMIPRoute]</span></p> </div> -<p class="since">Since: 1.42, 1.40.4</p> +<p class="since">Since: 1.42</p> </div> <hr> <div class="refsect2"> @@ -2543,7 +2551,7 @@ nm_utils_inet4_ntop (<em class="parameter"><code><a href="https://developer.gnom <tr> <td class="parameter_name"><p>dst</p></td> <td class="parameter_description"><p>the destination buffer, it must contain at least -<code class="literal">INET_ADDRSTRLEN</code> or <a class="link" href="libnm-nm-utils.html#NM-UTILS-INET-ADDRSTRLEN:CAPS" title="NM_UTILS_INET_ADDRSTRLEN"><code class="literal">NM_UTILS_INET_ADDRSTRLEN</code></a> +<code class="literal">INET_ADDRSTRLEN</code> or <code class="literal">NM_INET_ADDRSTRLEN</code> characters. If set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will return a pointer to an internal, static buffer (shared with <a class="link" href="libnm-nm-utils.html#nm-utils-inet6-ntop" title="nm_utils_inet6_ntop ()"><code class="function">nm_utils_inet6_ntop()</code></a>). Beware, that the internal buffer will be overwritten with ever new call of <a class="link" href="libnm-nm-utils.html#nm-utils-inet4-ntop" title="nm_utils_inet4_ntop ()"><code class="function">nm_utils_inet4_ntop()</code></a> or @@ -2590,7 +2598,7 @@ nm_utils_inet6_ntop (<em class="parameter"><code>const <span class="type">struct <tr> <td class="parameter_name"><p>dst</p></td> <td class="parameter_description"><p>the destination buffer, it must contain at least -<code class="literal">INET6_ADDRSTRLEN</code> or <a class="link" href="libnm-nm-utils.html#NM-UTILS-INET-ADDRSTRLEN:CAPS" title="NM_UTILS_INET_ADDRSTRLEN"><code class="literal">NM_UTILS_INET_ADDRSTRLEN</code></a> +<code class="literal">INET6_ADDRSTRLEN</code> or <code class="literal">NM_INET_ADDRSTRLEN</code> characters. If set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will return a pointer to an internal, static buffer (shared with <a class="link" href="libnm-nm-utils.html#nm-utils-inet4-ntop" title="nm_utils_inet4_ntop ()"><code class="function">nm_utils_inet4_ntop()</code></a>). Beware, that the internal buffer will be overwritten with ever new call of <a class="link" href="libnm-nm-utils.html#nm-utils-inet4-ntop" title="nm_utils_inet4_ntop ()"><code class="function">nm_utils_inet4_ntop()</code></a> or @@ -2906,7 +2914,7 @@ or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html# nm_utils_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <div class="refsect3"> <a name="nm-utils-version.returns"></a><h4>Returns</h4> -<p> the version ID of the libnm version. That is, the <code class="literal">NM_VERSION</code> +<p> the version ID of the libnm version. That is, the <a class="link" href="libnm-nm-version-macros.html#NM-VERSION:CAPS" title="NM_VERSION"><code class="literal">NM_VERSION</code></a> at runtime.</p> </div> <p class="since">Since: 1.6</p> @@ -3367,6 +3375,16 @@ bytes.</p> </div> <p class="since">Since: 1.16</p> </div> +<hr> +<div class="refsect2"> +<a name="nm-utils-ensure-gtypes"></a><h3>nm_utils_ensure_gtypes ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_utils_ensure_gtypes (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This ensures that all NMSetting GTypes are created. For example, +after this call, g_type_from_name("NMSettingConnection") will work.</p> +<p>This cannot fail and does nothing if the type already exists.</p> +<p class="since">Since: 1.42</p> +</div> </div> <div class="refsect1"> <a name="libnm-nm-utils.other_details"></a><h2>Types and Values</h2> |