256
256
<a name="g-srv-target-get-hostname"></a><h3>g_srv_target_get_hostname ()</h3>
258
258
g_srv_target_get_hostname (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
259
259
<p>Gets <em class="parameter"><code>target</code></em>
260
260
's hostname (in ASCII form; if you are going to present
261
this to the user, you should use <a href="http://library.gnome.org/devel/glib/unstable/glib-Hostname-Utilities.html#g-hostname-is-ascii-encoded"><code class="function">g_hostname_is_ascii_encoded()</code></a> to
262
262
check if it contains encoded Unicode segments, and use
265
265
<a name="id-1.4.16.8.8.5.5"></a><h4>Parameters</h4>
266
266
<div class="informaltable"><table width="100%" border="0">