~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GNetworkService.html

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-24 20:58:34 UTC
  • mfrom: (1.66.13)
  • Revision ID: package-import@ubuntu.com-20140324205834-8hsgok8k36ftocqa
Tags: 2.40.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
</td>
52
52
</tr>
53
53
<tr>
54
 
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
54
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
55
55
</td>
56
56
<td class="function_name">
57
57
<a class="link" href="GNetworkService.html#g-network-service-get-service" title="g_network_service_get_service ()">g_network_service_get_service</a> <span class="c_punctuation">()</span>
58
58
</td>
59
59
</tr>
60
60
<tr>
61
 
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
61
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
62
62
</td>
63
63
<td class="function_name">
64
64
<a class="link" href="GNetworkService.html#g-network-service-get-protocol" title="g_network_service_get_protocol ()">g_network_service_get_protocol</a> <span class="c_punctuation">()</span>
65
65
</td>
66
66
</tr>
67
67
<tr>
68
 
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
68
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
69
69
</td>
70
70
<td class="function_name">
71
71
<a class="link" href="GNetworkService.html#g-network-service-get-domain" title="g_network_service_get_domain ()">g_network_service_get_domain</a> <span class="c_punctuation">()</span>
72
72
</td>
73
73
</tr>
74
74
<tr>
75
 
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
75
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
76
76
</td>
77
77
<td class="function_name">
78
78
<a class="link" href="GNetworkService.html#g-network-service-get-scheme" title="g_network_service_get_scheme ()">g_network_service_get_scheme</a> <span class="c_punctuation">()</span>
100
100
<tbody>
101
101
<tr>
102
102
<td class="property_type">
103
 
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
 
103
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
104
104
<td class="property_name"><a class="link" href="GNetworkService.html#GNetworkService--domain" title="The “domain” property">domain</a></td>
105
105
<td class="property_flags">Read / Write / Construct Only</td>
106
106
</tr>
107
107
<tr>
108
108
<td class="property_type">
109
 
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
 
109
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
110
110
<td class="property_name"><a class="link" href="GNetworkService.html#GNetworkService--protocol" title="The “protocol” property">protocol</a></td>
111
111
<td class="property_flags">Read / Write / Construct Only</td>
112
112
</tr>
113
113
<tr>
114
114
<td class="property_type">
115
 
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
 
115
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
116
116
<td class="property_name"><a class="link" href="GNetworkService.html#GNetworkService--scheme" title="The “scheme” property">scheme</a></td>
117
117
<td class="property_flags">Read / Write</td>
118
118
</tr>
119
119
<tr>
120
120
<td class="property_type">
121
 
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
 
121
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
122
122
<td class="property_name"><a class="link" href="GNetworkService.html#GNetworkService--service" title="The “service” property">service</a></td>
123
123
<td class="property_flags">Read / Write / Construct Only</td>
124
124
</tr>
140
140
</div>
141
141
<div class="refsect1">
142
142
<a name="GNetworkService.object-hierarchy"></a><h2>Object Hierarchy</h2>
143
 
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
143
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
144
144
    <span class="lineart">╰──</span> GNetworkService
145
145
</pre>
146
146
</div>
171
171
<div class="refsect2">
172
172
<a name="g-network-service-new"></a><h3>g_network_service_new ()</h3>
173
173
<pre class="programlisting"><a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="returnvalue">GSocketConnectable</span></a> *
174
 
g_network_service_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>,
175
 
                       <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>,
176
 
                       <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>);</pre>
 
174
g_network_service_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>,
 
175
                       <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>,
 
176
                       <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>);</pre>
177
177
<p>Creates a new <a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> representing the given <em class="parameter"><code>service</code></em>
178
178
,
179
179
<em class="parameter"><code>protocol</code></em>
218
218
<hr>
219
219
<div class="refsect2">
220
220
<a name="g-network-service-get-service"></a><h3>g_network_service_get_service ()</h3>
221
 
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
221
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
222
222
g_network_service_get_service (<em class="parameter"><code><a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> *srv</code></em>);</pre>
223
223
<p>Gets <em class="parameter"><code>srv</code></em>
224
224
's service name (eg, "ldap").</p>
248
248
<hr>
249
249
<div class="refsect2">
250
250
<a name="g-network-service-get-protocol"></a><h3>g_network_service_get_protocol ()</h3>
251
 
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
251
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
252
252
g_network_service_get_protocol (<em class="parameter"><code><a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> *srv</code></em>);</pre>
253
253
<p>Gets <em class="parameter"><code>srv</code></em>
254
254
's protocol name (eg, "tcp").</p>
278
278
<hr>
279
279
<div class="refsect2">
280
280
<a name="g-network-service-get-domain"></a><h3>g_network_service_get_domain ()</h3>
281
 
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
281
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
282
282
g_network_service_get_domain (<em class="parameter"><code><a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> *srv</code></em>);</pre>
283
283
<p>Gets the domain that <em class="parameter"><code>srv</code></em>
284
284
 serves. This might be either UTF-8 or
310
310
<hr>
311
311
<div class="refsect2">
312
312
<a name="g-network-service-get-scheme"></a><h3>g_network_service_get_scheme ()</h3>
313
 
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
313
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
314
314
g_network_service_get_scheme (<em class="parameter"><code><a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> *srv</code></em>);</pre>
315
315
<p>Get's the URI scheme used to resolve proxies. By default, the service name
316
316
is used as scheme.</p>
342
342
<a name="g-network-service-set-scheme"></a><h3>g_network_service_set_scheme ()</h3>
343
343
<pre class="programlisting"><span class="returnvalue">void</span>
344
344
g_network_service_set_scheme (<em class="parameter"><code><a class="link" href="GNetworkService.html" title="GNetworkService"><span class="type">GNetworkService</span></a> *srv</code></em>,
345
 
                              <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>);</pre>
 
345
                              <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>);</pre>
346
346
<p>Set's the URI scheme used to resolve proxies. By default, the service name
347
347
is used as scheme.</p>
348
348
<div class="refsect3">
383
383
<a name="GNetworkService.property-details"></a><h2>Property Details</h2>
384
384
<div class="refsect2">
385
385
<a name="GNetworkService--domain"></a><h3>The <code class="literal">“domain”</code> property</h3>
386
 
<pre class="programlisting">  “domain”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
 
386
<pre class="programlisting">  “domain”                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
387
387
<p>Network domain, eg, "example.com".</p>
388
388
<p>Flags: Read / Write / Construct Only</p>
389
389
<p>Default value: NULL</p>
391
391
<hr>
392
392
<div class="refsect2">
393
393
<a name="GNetworkService--protocol"></a><h3>The <code class="literal">“protocol”</code> property</h3>
394
 
<pre class="programlisting">  “protocol”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
 
394
<pre class="programlisting">  “protocol”                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
395
395
<p>Network protocol, eg "tcp".</p>
396
396
<p>Flags: Read / Write / Construct Only</p>
397
397
<p>Default value: NULL</p>
399
399
<hr>
400
400
<div class="refsect2">
401
401
<a name="GNetworkService--scheme"></a><h3>The <code class="literal">“scheme”</code> property</h3>
402
 
<pre class="programlisting">  “scheme”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
 
402
<pre class="programlisting">  “scheme”                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
403
403
<p>Network scheme (default is to use service).</p>
404
404
<p>Flags: Read / Write</p>
405
405
<p>Default value: NULL</p>
407
407
<hr>
408
408
<div class="refsect2">
409
409
<a name="GNetworkService--service"></a><h3>The <code class="literal">“service”</code> property</h3>
410
 
<pre class="programlisting">  “service”                  <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
 
410
<pre class="programlisting">  “service”                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
411
411
<p>Service name, eg "ldap".</p>
412
412
<p>Flags: Read / Write / Construct Only</p>
413
413
<p>Default value: NULL</p>