~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-09-23 10:12:15 UTC
  • mto: This revision was merged to the branch mainline in revision 120.
  • Revision ID: package-import@ubuntu.com-20140923101215-kg4894xy8gz996q1
Tags: upstream-2.42.0
Import upstream version 2.42.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
</tr>
69
69
<tr>
70
70
<td class="function_type">
71
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
71
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
72
72
</td>
73
73
<td class="function_name">
74
74
<a class="link" href="GUnixSocketAddress.html#g-unix-socket-address-get-is-abstract" title="g_unix_socket_address_get_is_abstract ()">g_unix_socket_address_get_is_abstract</a> <span class="c_punctuation">()</span>
91
91
</tr>
92
92
<tr>
93
93
<td class="function_type">
94
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
 
94
<a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
95
95
</td>
96
96
<td class="function_name">
97
97
<a class="link" href="GUnixSocketAddress.html#g-unix-socket-address-get-path-len" title="g_unix_socket_address_get_path_len ()">g_unix_socket_address_get_path_len</a> <span class="c_punctuation">()</span>
99
99
</tr>
100
100
<tr>
101
101
<td class="function_type">
102
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
102
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
103
103
</td>
104
104
<td class="function_name">
105
105
<a class="link" href="GUnixSocketAddress.html#g-unix-socket-address-abstract-names-supported" title="g_unix_socket_address_abstract_names_supported ()">g_unix_socket_address_abstract_names_supported</a> <span class="c_punctuation">()</span>
118
118
</colgroup>
119
119
<tbody>
120
120
<tr>
121
 
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
 
121
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
122
122
<td class="property_name"><a class="link" href="GUnixSocketAddress.html#GUnixSocketAddress--abstract" title="The “abstract” property">abstract</a></td>
123
123
<td class="property_flags">Read / Write / Construct Only</td>
124
124
</tr>
129
129
</tr>
130
130
<tr>
131
131
<td class="property_type">
132
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
 
132
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
133
133
<td class="property_name"><a class="link" href="GUnixSocketAddress.html#GUnixSocketAddress--path" title="The “path” property">path</a></td>
134
134
<td class="property_flags">Read / Write / Construct Only</td>
135
135
</tr>
136
136
<tr>
137
137
<td class="property_type">
138
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> *</td>
 
138
<a href="../glib/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> *</td>
139
139
<td class="property_name"><a class="link" href="GUnixSocketAddress.html#GUnixSocketAddress--path-as-array" title="The “path-as-array” property">path-as-array</a></td>
140
140
<td class="property_flags">Read / Write / Construct Only</td>
141
141
</tr>
163
163
</div>
164
164
<div class="refsect1">
165
165
<a name="GUnixSocketAddress.object-hierarchy"></a><h2>Object Hierarchy</h2>
166
 
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
166
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
167
167
    <span class="lineart">╰──</span> <a class="link" href="GSocketAddress.html" title="GSocketAddress">GSocketAddress</a>
168
168
        <span class="lineart">╰──</span> GUnixSocketAddress
169
169
</pre>
199
199
<div class="refsect2">
200
200
<a name="g-unix-socket-address-new"></a><h3>g_unix_socket_address_new ()</h3>
201
201
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
202
 
g_unix_socket_address_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> *path</code></em>);</pre>
 
202
g_unix_socket_address_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
203
203
<p>Creates a new <a class="link" href="GUnixSocketAddress.html" title="GUnixSocketAddress"><span class="type">GUnixSocketAddress</span></a> for <em class="parameter"><code>path</code></em>
204
204
.</p>
205
205
<p>To create abstract socket addresses, on systems that support that,
230
230
<div class="refsect2">
231
231
<a name="g-unix-socket-address-new-abstract"></a><h3>g_unix_socket_address_new_abstract ()</h3>
232
232
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
233
 
g_unix_socket_address_new_abstract (<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> *path</code></em>,
234
 
                                    <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> path_len</code></em>);</pre>
 
233
g_unix_socket_address_new_abstract (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
 
234
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> path_len</code></em>);</pre>
235
235
<div class="warning">
236
236
<p><code class="literal">g_unix_socket_address_new_abstract</code> is deprecated and should not be used in newly-written code.</p>
237
237
<p>Use <a class="link" href="GUnixSocketAddress.html#g-unix-socket-address-new-with-type" title="g_unix_socket_address_new_with_type ()"><code class="function">g_unix_socket_address_new_with_type()</code></a>.</p>
272
272
<div class="refsect2">
273
273
<a name="g-unix-socket-address-new-with-type"></a><h3>g_unix_socket_address_new_with_type ()</h3>
274
274
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
275
 
g_unix_socket_address_new_with_type (<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> *path</code></em>,
276
 
                                     <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> path_len</code></em>,
 
275
g_unix_socket_address_new_with_type (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
 
276
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> path_len</code></em>,
277
277
                                     <em class="parameter"><code><a class="link" href="GUnixSocketAddress.html#GUnixSocketAddressType" title="enum GUnixSocketAddressType"><span class="type">GUnixSocketAddressType</span></a> type</code></em>);</pre>
278
278
<p>Creates a new <a class="link" href="GUnixSocketAddress.html" title="GUnixSocketAddress"><span class="type">GUnixSocketAddress</span></a> of type <em class="parameter"><code>type</code></em>
279
279
 with name <em class="parameter"><code>path</code></em>
352
352
<hr>
353
353
<div class="refsect2">
354
354
<a name="g-unix-socket-address-get-is-abstract"></a><h3>g_unix_socket_address_get_is_abstract ()</h3>
355
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
355
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
356
356
g_unix_socket_address_get_is_abstract (<em class="parameter"><code><a class="link" href="GUnixSocketAddress.html" title="GUnixSocketAddress"><span class="type">GUnixSocketAddress</span></a> *address</code></em>);</pre>
357
357
<div class="warning">
358
358
<p><code class="literal">g_unix_socket_address_get_is_abstract</code> is deprecated and should not be used in newly-written code.</p>
377
377
</div>
378
378
<div class="refsect3">
379
379
<a name="id-1.4.13.7.10.5.8"></a><h4>Returns</h4>
380
 
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address is abstract, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
 
380
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the address is abstract, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
381
381
<p></p>
382
382
</div>
383
383
<p class="since">Since 2.22</p>
449
449
<hr>
450
450
<div class="refsect2">
451
451
<a name="g-unix-socket-address-get-path-len"></a><h3>g_unix_socket_address_get_path_len ()</h3>
452
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
 
452
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
453
453
g_unix_socket_address_get_path_len (<em class="parameter"><code><a class="link" href="GUnixSocketAddress.html" title="GUnixSocketAddress"><span class="type">GUnixSocketAddress</span></a> *address</code></em>);</pre>
454
454
<p>Gets the length of <em class="parameter"><code>address</code></em>
455
455
's path.</p>
479
479
<hr>
480
480
<div class="refsect2">
481
481
<a name="g-unix-socket-address-abstract-names-supported"></a><h3>g_unix_socket_address_abstract_names_supported ()</h3>
482
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
482
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
483
483
g_unix_socket_address_abstract_names_supported
484
484
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
485
485
<p>Checks if abstract UNIX domain socket names are supported.</p>
486
486
<div class="refsect3">
487
487
<a name="id-1.4.13.7.10.9.5"></a><h4>Returns</h4>
488
 
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if supported, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
 
488
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if supported, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
489
489
<p></p>
490
490
</div>
491
491
<p class="since">Since 2.22</p>
569
569
<a name="GUnixSocketAddress.property-details"></a><h2>Property Details</h2>
570
570
<div class="refsect2">
571
571
<a name="GUnixSocketAddress--abstract"></a><h3>The <code class="literal">“abstract”</code> property</h3>
572
 
<pre class="programlisting">  “abstract”                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
 
572
<pre class="programlisting">  “abstract”                 <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
573
573
<p>Whether or not this is an abstract address</p>
574
574
<div class="warning">
575
575
<p><code class="literal">GUnixSocketAddress:abstract</code> is deprecated and should not be used in newly-written code.</p>
591
591
<hr>
592
592
<div class="refsect2">
593
593
<a name="GUnixSocketAddress--path"></a><h3>The <code class="literal">“path”</code> property</h3>
594
 
<pre class="programlisting">  “path”                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
 
594
<pre class="programlisting">  “path”                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
595
595
<p>UNIX socket path.</p>
596
596
<p>Flags: Read / Write / Construct Only</p>
597
597
<p>Default value: NULL</p>
599
599
<hr>
600
600
<div class="refsect2">
601
601
<a name="GUnixSocketAddress--path-as-array"></a><h3>The <code class="literal">“path-as-array”</code> property</h3>
602
 
<pre class="programlisting">  “path-as-array”            <a href="http://library.gnome.org/devel/glib/unstable/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> *</pre>
 
602
<pre class="programlisting">  “path-as-array”            <a href="../glib/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> *</pre>
603
603
<p>UNIX socket path, as byte array.</p>
604
604
<p>Flags: Read / Write / Construct Only</p>
605
605
</div>