diff options
Diffstat (limited to 'docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html')
| -rw-r--r-- | docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html | 305 |
1 files changed, 0 insertions, 305 deletions
diff --git a/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html b/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html deleted file mode 100644 index 1be498be..00000000 --- a/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html +++ /dev/null @@ -1,305 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>NMSettingsSystem</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> -<link rel="home" href="index.html" title="libnm-glib Reference Manual"> -<link rel="up" href="ch01.html" title="libnm-glib Objects"> -<link rel="prev" href="libnm-glib-NMSettingsService.html" title="NMSettingsService"> -<link rel="next" href="libnm-glib-nm-types.html" title="nm-types"> -<meta name="generator" content="GTK-Doc V1.15 (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="libnm-glib-NMSettingsService.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="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="libnm-glib-nm-types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#libnm-glib-NMSettingsSystem.synopsis" class="shortcut">Top</a> - | - <a href="#libnm-glib-NMSettingsSystem.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry" title="NMSettingsSystem"> -<a name="libnm-glib-NMSettingsSystem"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="libnm-glib-NMSettingsSystem.top_of_page"></a>NMSettingsSystem</span></h2> -<p>NMSettingsSystem</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv" title="Synopsis"> -<a name="libnm-glib-NMSettingsSystem.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis">enum <a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemPermissions" title="enum NMSettingsSystemPermissions">NMSettingsSystemPermissions</a>; -#define <a class="link" href="libnm-glib-NMSettingsSystem.html#NM-SETTINGS-SYSTEM-INTERFACE-HOSTNAME:CAPS" title="NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME">NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME</a> -#define <a class="link" href="libnm-glib-NMSettingsSystem.html#NM-SETTINGS-SYSTEM-INTERFACE-CAN-MODIFY:CAPS" title="NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY">NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY</a> -#define <a class="link" href="libnm-glib-NMSettingsSystem.html#NM-SETTINGS-SYSTEM-INTERFACE-CHECK-PERMISSIONS:CAPS" title="NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS">NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS</a> -enum <a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterfaceProp" title="enum NMSettingsSystemInterfaceProp">NMSettingsSystemInterfaceProp</a>; - <a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface">NMSettingsSystemInterface</a>; -<span class="returnvalue">void</span> (<a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemSaveHostnameFunc" title="NMSettingsSystemSaveHostnameFunc ()">*NMSettingsSystemSaveHostnameFunc</a>) (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</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="libnm-glib-NMSettingsSystem.html#NMSettingsSystemGetPermissionsFunc" title="NMSettingsSystemGetPermissionsFunc ()">*NMSettingsSystemGetPermissionsFunc</a>) - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemPermissions" title="enum NMSettingsSystemPermissions"><span class="type">NMSettingsSystemPermissions</span></a> permissions</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>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libnm-glib-NMSettingsSystem.html#nm-settings-system-interface-save-hostname" title="nm_settings_system_interface_save_hostname ()">nm_settings_system_interface_save_hostname</a> - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hostname</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemSaveHostnameFunc" title="NMSettingsSystemSaveHostnameFunc ()"><span class="type">NMSettingsSystemSaveHostnameFunc</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-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libnm-glib-NMSettingsSystem.html#nm-settings-system-interface-get-permissions" title="nm_settings_system_interface_get_permissions ()">nm_settings_system_interface_get_permissions</a> - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemGetPermissionsFunc" title="NMSettingsSystemGetPermissionsFunc ()"><span class="type">NMSettingsSystemGetPermissionsFunc</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> -<div class="refsect1" title="Description"> -<a name="libnm-glib-NMSettingsSystem.description"></a><h2>Description</h2> -<p> -</p> -</div> -<div class="refsect1" title="Details"> -<a name="libnm-glib-NMSettingsSystem.details"></a><h2>Details</h2> -<div class="refsect2" title="enum NMSettingsSystemPermissions"> -<a name="NMSettingsSystemPermissions"></a><h3>enum NMSettingsSystemPermissions</h3> -<pre class="programlisting">typedef enum { - NM_SETTINGS_SYSTEM_PERMISSION_NONE = 0x0, - NM_SETTINGS_SYSTEM_PERMISSION_CONNECTION_MODIFY = 0x1, - NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_PROTECTED = 0x2, - NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_OPEN = 0x4, - NM_SETTINGS_SYSTEM_PERMISSION_HOSTNAME_MODIFY = 0x8 -} NMSettingsSystemPermissions; -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME"> -<a name="NM-SETTINGS-SYSTEM-INTERFACE-HOSTNAME:CAPS"></a><h3>NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME</h3> -<pre class="programlisting">#define NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME "hostname" -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY"> -<a name="NM-SETTINGS-SYSTEM-INTERFACE-CAN-MODIFY:CAPS"></a><h3>NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY</h3> -<pre class="programlisting">#define NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY "can-modify" -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS"> -<a name="NM-SETTINGS-SYSTEM-INTERFACE-CHECK-PERMISSIONS:CAPS"></a><h3>NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS</h3> -<pre class="programlisting">#define NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS "check-permissions" -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="enum NMSettingsSystemInterfaceProp"> -<a name="NMSettingsSystemInterfaceProp"></a><h3>enum NMSettingsSystemInterfaceProp</h3> -<pre class="programlisting">typedef enum { - NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST = 0x1000, - - NM_SETTINGS_SYSTEM_INTERFACE_PROP_HOSTNAME = NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST, - NM_SETTINGS_SYSTEM_INTERFACE_PROP_CAN_MODIFY -} NMSettingsSystemInterfaceProp; -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="NMSettingsSystemInterface"> -<a name="NMSettingsSystemInterface"></a><h3>NMSettingsSystemInterface</h3> -<pre class="programlisting">typedef struct { - GTypeInterface g_iface; - - /* Methods */ - gboolean (*save_hostname) (NMSettingsSystemInterface *settings, - const char *hostname, - NMSettingsSystemSaveHostnameFunc callback, - gpointer user_data); - - gboolean (*get_permissions) (NMSettingsSystemInterface *settings, - NMSettingsSystemGetPermissionsFunc callback, - gpointer user_data); - - /* Signals */ - void (*check_permissions) (NMSettingsSystemInterface *settings); - - /* Padding for future expansion */ - void (*_reserved1) (void); - void (*_reserved2) (void); - void (*_reserved3) (void); - void (*_reserved4) (void); - void (*_reserved5) (void); - void (*_reserved6) (void); -} NMSettingsSystemInterface; -</pre> -<p> -</p> -</div> -<hr> -<div class="refsect2" title="NMSettingsSystemSaveHostnameFunc ()"> -<a name="NMSettingsSystemSaveHostnameFunc"></a><h3>NMSettingsSystemSaveHostnameFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*NMSettingsSystemSaveHostnameFunc) (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</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 class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" title="NMSettingsSystemGetPermissionsFunc ()"> -<a name="NMSettingsSystemGetPermissionsFunc"></a><h3>NMSettingsSystemGetPermissionsFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*NMSettingsSystemGetPermissionsFunc) - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemPermissions" title="enum NMSettingsSystemPermissions"><span class="type">NMSettingsSystemPermissions</span></a> permissions</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 class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>permissions</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> -<td> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" title="nm_settings_system_interface_save_hostname ()"> -<a name="nm-settings-system-interface-save-hostname"></a><h3>nm_settings_system_interface_save_hostname ()</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_settings_system_interface_save_hostname - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hostname</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemSaveHostnameFunc" title="NMSettingsSystemSaveHostnameFunc ()"><span class="type">NMSettingsSystemSaveHostnameFunc</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> -Requests that the machine's persistent hostname be set to the specified value -or cleared. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td> -<td>a object implementing <a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><code class="literal">NMSettingsSystemInterface</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>hostname</code></em> :</span></p></td> -<td>the new persistent hostname to set, or NULL to clear any existing - persistent hostname -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> -<td>callback to be called when the hostname operation completes -</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> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> TRUE if the request was successful, FALSE if it failed -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" title="nm_settings_system_interface_get_permissions ()"> -<a name="nm-settings-system-interface-get-permissions"></a><h3>nm_settings_system_interface_get_permissions ()</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_settings_system_interface_get_permissions - (<em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><span class="type">NMSettingsSystemInterface</span></a> *settings</code></em>, - <em class="parameter"><code><a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemGetPermissionsFunc" title="NMSettingsSystemGetPermissionsFunc ()"><span class="type">NMSettingsSystemGetPermissionsFunc</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> -Requests an indication of the operations the caller is permitted to perform -including those that may require authorization. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td> -<td>a object implementing <a class="link" href="libnm-glib-NMSettingsSystem.html#NMSettingsSystemInterface" title="NMSettingsSystemInterface"><code class="literal">NMSettingsSystemInterface</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> -<td>callback to be called when the permissions operation completes -</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> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> TRUE if the request was successful, FALSE if it failed -</td> -</tr> -</tbody> -</table></div> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.15</div> -</body> -</html> \ No newline at end of file |