4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ShellNetworkAgent</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Shell Reference Manual">
8
8
<link rel="up" href="ch06.html" title="Integration helpers and utilities">
9
<link rel="prev" href="shell-shell-mobile-providers.html" title="shell-mobile-providers">
9
<link rel="prev" href="ShellMountOperation.html" title="ShellMountOperation">
10
10
<link rel="next" href="shell-shell-polkit-authentication-agent.html" title="shell-polkit-authentication-agent">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
16
<tr valign="middle">
17
<td><a accesskey="p" href="shell-shell-mobile-providers.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
<td><a accesskey="p" href="ShellMountOperation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
18
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
20
<th width="100%" align="center">Shell Reference Manual</th>
41
41
</tr></table></div>
42
42
<div class="refsynopsisdiv">
43
43
<a name="ShellNetworkAgent.synopsis"></a><h2>Synopsis</h2>
44
<a name="ShellNetworkAgentResponse"></a><pre class="synopsis">#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-SK-TAG:CAPS" title="SHELL_KEYRING_SK_TAG">SHELL_KEYRING_SK_TAG</a>
45
#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-SN-TAG:CAPS" title="SHELL_KEYRING_SN_TAG">SHELL_KEYRING_SN_TAG</a>
46
#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-UUID-TAG:CAPS" title="SHELL_KEYRING_UUID_TAG">SHELL_KEYRING_UUID_TAG</a>
44
<a name="ShellNetworkAgentResponse"></a><pre class="synopsis">enum <a class="link" href="ShellNetworkAgent.html#ShellNetworkAgentResponse-enum" title="enum ShellNetworkAgentResponse">ShellNetworkAgentResponse</a>;
47
45
struct <a class="link" href="ShellNetworkAgent.html#ShellNetworkAgent-struct" title="struct ShellNetworkAgent">ShellNetworkAgent</a>;
48
46
struct <a class="link" href="ShellNetworkAgent.html#ShellNetworkAgentClass" title="struct ShellNetworkAgentClass">ShellNetworkAgentClass</a>;
49
enum <a class="link" href="ShellNetworkAgent.html#ShellNetworkAgentResponse-enum" title="enum ShellNetworkAgentResponse">ShellNetworkAgentResponse</a>;
50
47
<a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="returnvalue">ShellNetworkAgent</span></a> * <a class="link" href="ShellNetworkAgent.html#shell-network-agent-new" title="shell_network_agent_new ()">shell_network_agent_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> <a class="link" href="ShellNetworkAgent.html#shell-network-agent-set-password" title="shell_network_agent_set_password ()">shell_network_agent_set_password</a> (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
49
<em class="parameter"><code><span class="type">gchar</span> *request_id</code></em>,
50
<em class="parameter"><code><span class="type">gchar</span> *setting_key</code></em>,
51
<em class="parameter"><code><span class="type">gchar</span> *setting_value</code></em>);
51
52
<span class="returnvalue">void</span> <a class="link" href="ShellNetworkAgent.html#shell-network-agent-respond" title="shell_network_agent_respond ()">shell_network_agent_respond</a> (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_id</code></em>,
53
<em class="parameter"><code><span class="type">gchar</span> *request_id</code></em>,
53
54
<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html#ShellNetworkAgentResponse"><span class="type">ShellNetworkAgentResponse</span></a> response</code></em>);
54
<span class="returnvalue">void</span> <a class="link" href="ShellNetworkAgent.html#shell-network-agent-set-password" title="shell_network_agent_set_password ()">shell_network_agent_set_password</a> (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_id</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *setting_key</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *setting_value</code></em>);
55
#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-UUID-TAG:CAPS" title="SHELL_KEYRING_UUID_TAG">SHELL_KEYRING_UUID_TAG</a>
56
#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-SN-TAG:CAPS" title="SHELL_KEYRING_SN_TAG">SHELL_KEYRING_SN_TAG</a>
57
#define <a class="link" href="ShellNetworkAgent.html#SHELL-KEYRING-SK-TAG:CAPS" title="SHELL_KEYRING_SK_TAG">SHELL_KEYRING_SK_TAG</a>
60
60
<div class="refsect1">
61
61
<a name="ShellNetworkAgent.object-hierarchy"></a><h2>Object Hierarchy</h2>
62
62
<pre class="synopsis">
63
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
64
+----<a href="http://projects.gnome.org/NetworkManager/developers/libnm-glib/09/NMSecretAgent.html">NMSecretAgent</a>
65
+----ShellNetworkAgent
67
<pre class="synopsis">
69
64
+----ShellNetworkAgentResponse
66
<pre class="synopsis">
69
+----ShellNetworkAgent
72
72
<div class="refsect1">
73
73
<a name="ShellNetworkAgent.signals"></a><h2>Signals</h2>
82
82
<div class="refsect1">
83
83
<a name="ShellNetworkAgent.details"></a><h2>Details</h2>
84
84
<div class="refsect2">
85
<a name="SHELL-KEYRING-SK-TAG:CAPS"></a><h3>SHELL_KEYRING_SK_TAG</h3>
86
<pre class="programlisting">#define SHELL_KEYRING_SK_TAG "setting-key"
90
<div class="refsect2">
91
<a name="SHELL-KEYRING-SN-TAG:CAPS"></a><h3>SHELL_KEYRING_SN_TAG</h3>
92
<pre class="programlisting">#define SHELL_KEYRING_SN_TAG "setting-name"
96
<div class="refsect2">
97
<a name="SHELL-KEYRING-UUID-TAG:CAPS"></a><h3>SHELL_KEYRING_UUID_TAG</h3>
98
<pre class="programlisting">#define SHELL_KEYRING_UUID_TAG "connection-uuid"
102
<div class="refsect2">
103
<a name="ShellNetworkAgent-struct"></a><h3>struct ShellNetworkAgent</h3>
104
<pre class="programlisting">struct ShellNetworkAgent;</pre>
107
<div class="refsect2">
108
<a name="ShellNetworkAgentClass"></a><h3>struct ShellNetworkAgentClass</h3>
109
<pre class="programlisting">struct ShellNetworkAgentClass {
114
<div class="refsect2">
115
85
<a name="ShellNetworkAgentResponse-enum"></a><h3>enum ShellNetworkAgentResponse</h3>
116
86
<pre class="programlisting">typedef enum {
117
87
SHELL_NETWORK_AGENT_CONFIRMED,
119
89
SHELL_NETWORK_AGENT_INTERNAL_ERROR
120
90
} ShellNetworkAgentResponse;
92
<div class="variablelist"><table border="0" class="variablelist">
94
<col align="left" valign="top">
99
<td><p><a name="SHELL-NETWORK-AGENT-CONFIRMED:CAPS"></a><span class="term"><code class="literal">SHELL_NETWORK_AGENT_CONFIRMED</code></span></p></td>
103
<td><p><a name="SHELL-NETWORK-AGENT-USER-CANCELED:CAPS"></a><span class="term"><code class="literal">SHELL_NETWORK_AGENT_USER_CANCELED</code></span></p></td>
107
<td><p><a name="SHELL-NETWORK-AGENT-INTERNAL-ERROR:CAPS"></a><span class="term"><code class="literal">SHELL_NETWORK_AGENT_INTERNAL_ERROR</code></span></p></td>
114
<div class="refsect2">
115
<a name="ShellNetworkAgent-struct"></a><h3>struct ShellNetworkAgent</h3>
116
<pre class="programlisting">struct ShellNetworkAgent;</pre>
119
<div class="refsect2">
120
<a name="ShellNetworkAgentClass"></a><h3>struct ShellNetworkAgentClass</h3>
121
<pre class="programlisting">struct ShellNetworkAgentClass {
124
126
<div class="refsect2">
129
131
<div class="refsect2">
132
<a name="shell-network-agent-set-password"></a><h3>shell_network_agent_set_password ()</h3>
133
<pre class="programlisting"><span class="returnvalue">void</span> shell_network_agent_set_password (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
134
<em class="parameter"><code><span class="type">gchar</span> *request_id</code></em>,
135
<em class="parameter"><code><span class="type">gchar</span> *setting_key</code></em>,
136
<em class="parameter"><code><span class="type">gchar</span> *setting_value</code></em>);</pre>
139
<div class="refsect2">
130
140
<a name="shell-network-agent-respond"></a><h3>shell_network_agent_respond ()</h3>
131
141
<pre class="programlisting"><span class="returnvalue">void</span> shell_network_agent_respond (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
132
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_id</code></em>,
142
<em class="parameter"><code><span class="type">gchar</span> *request_id</code></em>,
133
143
<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html#ShellNetworkAgentResponse"><span class="type">ShellNetworkAgentResponse</span></a> response</code></em>);</pre>
136
146
<div class="refsect2">
137
<a name="shell-network-agent-set-password"></a><h3>shell_network_agent_set_password ()</h3>
138
<pre class="programlisting"><span class="returnvalue">void</span> shell_network_agent_set_password (<em class="parameter"><code><a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *self</code></em>,
139
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *request_id</code></em>,
140
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *setting_key</code></em>,
141
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *setting_value</code></em>);</pre>
147
<a name="SHELL-KEYRING-UUID-TAG:CAPS"></a><h3>SHELL_KEYRING_UUID_TAG</h3>
148
<pre class="programlisting">#define SHELL_KEYRING_UUID_TAG "connection-uuid"
152
<div class="refsect2">
153
<a name="SHELL-KEYRING-SN-TAG:CAPS"></a><h3>SHELL_KEYRING_SN_TAG</h3>
154
<pre class="programlisting">#define SHELL_KEYRING_SN_TAG "setting-name"
158
<div class="refsect2">
159
<a name="SHELL-KEYRING-SK-TAG:CAPS"></a><h3>SHELL_KEYRING_SK_TAG</h3>
160
<pre class="programlisting">#define SHELL_KEYRING_SK_TAG "setting-key"
144
164
<div class="refsect1">
146
166
<div class="refsect2">
147
167
<a name="ShellNetworkAgent-cancel-request"></a><h3>The <code class="literal">"cancel-request"</code> signal</h3>
148
168
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *shellnetworkagent,
149
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg1,
150
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
169
<span class="type">gchar</span> *arg1,
170
<span class="type">gpointer</span> user_data)</pre>
153
173
<div class="refsect2">
154
174
<a name="ShellNetworkAgent-new-request"></a><h3>The <code class="literal">"new-request"</code> signal</h3>
155
175
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ShellNetworkAgent.html" title="ShellNetworkAgent"><span class="type">ShellNetworkAgent</span></a> *shellnetworkagent,
156
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg1,
157
<a href="http://projects.gnome.org/NetworkManager/developers/libnm-util/09/NMConnection.html"><span class="type">NMConnection</span></a> *arg2,
158
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg3,
159
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> arg4,
160
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg5,
161
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
176
<span class="type">gchar</span> *arg1,
177
<span class="type">NMConnection</span> *arg2,
178
<span class="type">gchar</span> *arg3,
179
<span class="type">GStrv</span> arg4,
180
<span class="type">gint</span> arg5,
181
<span class="type">gpointer</span> user_data)</pre>
165
185
<div class="footer">
167
Generated by GTK-Doc V1.18</div>
187
Generated by GTK-Doc V1.18.1</div>
b'\\ No newline at end of file'