46
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
46
<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> *
48
48
<td class="function_name">
49
49
<a class="link" href="GProxyAddress.html#g-proxy-address-get-destination-protocol" title="g_proxy_address_get_destination_protocol ()">g_proxy_address_get_destination_protocol</a> <span class="c_punctuation">()</span>
53
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
53
<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 class="function_name">
56
56
<a class="link" href="GProxyAddress.html#g-proxy-address-get-destination-hostname" title="g_proxy_address_get_destination_hostname ()">g_proxy_address_get_destination_hostname</a> <span class="c_punctuation">()</span>
60
60
<td class="function_type">
61
<a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>
61
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>
63
63
<td class="function_name">
64
64
<a class="link" href="GProxyAddress.html#g-proxy-address-get-destination-port" title="g_proxy_address_get_destination_port ()">g_proxy_address_get_destination_port</a> <span class="c_punctuation">()</span>
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> *
70
70
<td class="function_name">
71
71
<a class="link" href="GProxyAddress.html#g-proxy-address-get-password" title="g_proxy_address_get_password ()">g_proxy_address_get_password</a> <span class="c_punctuation">()</span>
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> *
77
77
<td class="function_name">
78
78
<a class="link" href="GProxyAddress.html#g-proxy-address-get-protocol" title="g_proxy_address_get_protocol ()">g_proxy_address_get_protocol</a> <span class="c_punctuation">()</span>
82
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
82
<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> *
84
84
<td class="function_name">
85
85
<a class="link" href="GProxyAddress.html#g-proxy-address-get-username" title="g_proxy_address_get_username ()">g_proxy_address_get_username</a> <span class="c_punctuation">()</span>
89
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
89
<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> *
91
91
<td class="function_name">
92
92
<a class="link" href="GProxyAddress.html#g-proxy-address-get-uri" title="g_proxy_address_get_uri ()">g_proxy_address_get_uri</a> <span class="c_punctuation">()</span>
116
116
<td class="property_type">
117
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
117
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
118
118
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--destination-hostname" title="The “destination-hostname” property">destination-hostname</a></td>
119
119
<td class="property_flags">Read / Write / Construct Only</td>
122
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
122
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
123
123
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--destination-port" title="The “destination-port” property">destination-port</a></td>
124
124
<td class="property_flags">Read / Write / Construct Only</td>
127
127
<td class="property_type">
128
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
128
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
129
129
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--destination-protocol" title="The “destination-protocol” property">destination-protocol</a></td>
130
130
<td class="property_flags">Read / Write / Construct Only</td>
133
133
<td class="property_type">
134
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
134
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
135
135
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--password" title="The “password” property">password</a></td>
136
136
<td class="property_flags">Read / Write / Construct Only</td>
139
139
<td class="property_type">
140
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
140
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
141
141
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--protocol" title="The “protocol” property">protocol</a></td>
142
142
<td class="property_flags">Read / Write / Construct Only</td>
145
145
<td class="property_type">
146
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
146
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
147
147
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--uri" title="The “uri” property">uri</a></td>
148
148
<td class="property_flags">Read / Write / Construct Only</td>
151
151
<td class="property_type">
152
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
152
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
153
153
<td class="property_name"><a class="link" href="GProxyAddress.html#GProxyAddress--username" title="The “username” property">username</a></td>
154
154
<td class="property_flags">Read / Write / Construct Only</td>
178
178
<div class="refsect1">
179
179
<a name="GProxyAddress.object-hierarchy"></a><h2>Object Hierarchy</h2>
180
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
180
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
181
181
<span class="lineart">╰──</span> <a class="link" href="GSocketAddress.html" title="GSocketAddress">GSocketAddress</a>
182
182
<span class="lineart">╰──</span> <a class="link" href="GInetSocketAddress.html" title="GInetSocketAddress">GInetSocketAddress</a>
183
183
<span class="lineart">╰──</span> GProxyAddress
202
202
<a name="GProxyAddress.functions_details"></a><h2>Functions</h2>
203
203
<div class="refsect2">
204
204
<a name="g-proxy-address-get-destination-protocol"></a><h3>g_proxy_address_get_destination_protocol ()</h3>
205
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
205
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
206
206
g_proxy_address_get_destination_protocol
207
207
(<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
208
208
<p>Gets the protocol that is being spoken to the destination
234
234
<div class="refsect2">
235
235
<a name="g-proxy-address-get-destination-hostname"></a><h3>g_proxy_address_get_destination_hostname ()</h3>
236
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
236
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
237
237
g_proxy_address_get_destination_hostname
238
238
(<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
239
239
<p>Gets <em class="parameter"><code>proxy</code></em>
267
267
<div class="refsect2">
268
268
<a name="g-proxy-address-get-destination-port"></a><h3>g_proxy_address_get_destination_port ()</h3>
269
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>
269
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>
270
270
g_proxy_address_get_destination_port (<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
271
271
<p>Gets <em class="parameter"><code>proxy</code></em>
272
272
's destination port; that is, the port on the
299
299
<div class="refsect2">
300
300
<a name="g-proxy-address-get-password"></a><h3>g_proxy_address_get_password ()</h3>
301
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
301
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
302
302
g_proxy_address_get_password (<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
303
303
<p>Gets <em class="parameter"><code>proxy</code></em>
329
329
<div class="refsect2">
330
330
<a name="g-proxy-address-get-protocol"></a><h3>g_proxy_address_get_protocol ()</h3>
331
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
331
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
332
332
g_proxy_address_get_protocol (<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
333
333
<p>Gets <em class="parameter"><code>proxy</code></em>
334
334
's protocol. eg, "socks" or "http"</p>
359
359
<div class="refsect2">
360
360
<a name="g-proxy-address-get-username"></a><h3>g_proxy_address_get_username ()</h3>
361
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
361
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
362
362
g_proxy_address_get_username (<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
363
363
<p>Gets <em class="parameter"><code>proxy</code></em>
389
389
<div class="refsect2">
390
390
<a name="g-proxy-address-get-uri"></a><h3>g_proxy_address_get_uri ()</h3>
391
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
391
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
392
392
g_proxy_address_get_uri (<em class="parameter"><code><a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> *proxy</code></em>);</pre>
393
393
<p>Gets the proxy URI that <em class="parameter"><code>proxy</code></em>
394
394
was constructed from.</p>
410
410
<div class="refsect3">
411
411
<a name="id-1.4.13.14.10.8.6"></a><h4>Returns</h4>
412
412
<p> the <em class="parameter"><code>proxy</code></em>
413
's URI, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unknown</p>
413
's URI, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unknown</p>
416
416
<p class="since">Since 2.34</p>
420
420
<a name="g-proxy-address-new"></a><h3>g_proxy_address_new ()</h3>
421
421
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
422
422
g_proxy_address_new (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *inetaddr</code></em>,
423
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
424
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>,
425
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest_hostname</code></em>,
426
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> dest_port</code></em>,
427
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>,
428
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *password</code></em>);</pre>
423
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
424
<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>,
425
<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> *dest_hostname</code></em>,
426
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> dest_port</code></em>,
427
<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> *username</code></em>,
428
<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> *password</code></em>);</pre>
429
429
<p>Creates a new <a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> for <em class="parameter"><code>inetaddr</code></em>
430
430
with <em class="parameter"><code>protocol</code></em>
433
433
and <em class="parameter"><code>dest_port</code></em>
435
435
<p>(Note that this method doesn't set the <a class="link" href="GProxyAddress.html#GProxyAddress--uri" title="The “uri” property"><span class="type">“uri”</span></a> or
436
<a class="link" href="GProxyAddress.html#GProxyAddress--destination-protocol" title="The “destination-protocol” property"><span class="type">“destination-protocol”</span></a> fields; use <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>
436
<a class="link" href="GProxyAddress.html#GProxyAddress--destination-protocol" title="The “destination-protocol” property"><span class="type">“destination-protocol”</span></a> fields; use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>
437
437
directly if you want to set those.)</p>
438
438
<div class="refsect3">
439
439
<a name="id-1.4.13.14.10.9.6"></a><h4>Parameters</h4>
473
473
<td class="parameter_name"><p>username</p></td>
474
474
<td class="parameter_description"><p> The username to authenticate to the proxy server
475
(or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
475
(or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
476
476
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
479
479
<td class="parameter_name"><p>password</p></td>
480
480
<td class="parameter_description"><p> The password to authenticate to the proxy server
481
(or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
481
(or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
482
482
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
513
513
<a name="GProxyAddress.property-details"></a><h2>Property Details</h2>
514
514
<div class="refsect2">
515
515
<a name="GProxyAddress--destination-hostname"></a><h3>The <code class="literal">“destination-hostname”</code> property</h3>
516
<pre class="programlisting"> “destination-hostname” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
516
<pre class="programlisting"> “destination-hostname” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
517
517
<p>The proxy destination hostname.</p>
518
518
<p>Flags: Read / Write / Construct Only</p>
519
519
<p>Default value: NULL</p>
522
522
<div class="refsect2">
523
523
<a name="GProxyAddress--destination-port"></a><h3>The <code class="literal">“destination-port”</code> property</h3>
524
<pre class="programlisting"> “destination-port” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
524
<pre class="programlisting"> “destination-port” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
525
525
<p>The proxy destination port.</p>
526
526
<p>Flags: Read / Write / Construct Only</p>
527
527
<p>Allowed values: <= 65535</p>
531
531
<div class="refsect2">
532
532
<a name="GProxyAddress--destination-protocol"></a><h3>The <code class="literal">“destination-protocol”</code> property</h3>
533
<pre class="programlisting"> “destination-protocol” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
534
<p>The protocol being spoke to the destination host, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
533
<pre class="programlisting"> “destination-protocol” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
534
<p>The protocol being spoke to the destination host, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
535
535
the <a class="link" href="GProxyAddress.html" title="GProxyAddress"><span class="type">GProxyAddress</span></a> doesn't know.</p>
536
536
<p>Flags: Read / Write / Construct Only</p>
537
537
<p>Default value: NULL</p>
541
541
<div class="refsect2">
542
542
<a name="GProxyAddress--password"></a><h3>The <code class="literal">“password”</code> property</h3>
543
<pre class="programlisting"> “password” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
543
<pre class="programlisting"> “password” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
544
544
<p>The proxy password.</p>
545
545
<p>Flags: Read / Write / Construct Only</p>
546
546
<p>Default value: NULL</p>
549
549
<div class="refsect2">
550
550
<a name="GProxyAddress--protocol"></a><h3>The <code class="literal">“protocol”</code> property</h3>
551
<pre class="programlisting"> “protocol” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
551
<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>
552
552
<p>The proxy protocol.</p>
553
553
<p>Flags: Read / Write / Construct Only</p>
554
554
<p>Default value: NULL</p>
557
557
<div class="refsect2">
558
558
<a name="GProxyAddress--uri"></a><h3>The <code class="literal">“uri”</code> property</h3>
559
<pre class="programlisting"> “uri” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
560
<p>The URI string that the proxy was constructed from (or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
559
<pre class="programlisting"> “uri” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
560
<p>The URI string that the proxy was constructed from (or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
561
561
if the creator didn't specify this).</p>
562
562
<p>Flags: Read / Write / Construct Only</p>
563
563
<p>Default value: NULL</p>
567
567
<div class="refsect2">
568
568
<a name="GProxyAddress--username"></a><h3>The <code class="literal">“username”</code> property</h3>
569
<pre class="programlisting"> “username” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
569
<pre class="programlisting"> “username” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
570
570
<p>The proxy username.</p>
571
571
<p>Flags: Read / Write / Construct Only</p>
572
572
<p>Default value: NULL</p>