/usr/share/gtk-doc/html/camel/camel-camel-net-utils.html is in evolution-data-server-doc 3.18.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>camel-net-utils: Camel Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Camel Reference Manual">
<link rel="up" href="Utilities.html" title="Utilities">
<link rel="prev" href="camel-CamelMsgPort.html" title="CamelMsgPort">
<link rel="next" href="camel-camel-search-sql-sexp.html" title="camel-search-sql-sexp">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#camel-camel-net-utils.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="Utilities.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="camel-CamelMsgPort.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="camel-camel-search-sql-sexp.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="camel-camel-net-utils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="camel-camel-net-utils.top_of_page"></a>camel-net-utils</span></h2>
<p>camel-net-utils</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="camel-camel-net-utils.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">struct <span class="returnvalue">addrinfo</span> *
</td>
<td class="function_name">
<a class="link" href="camel-camel-net-utils.html#camel-getaddrinfo" title="camel_getaddrinfo ()">camel_getaddrinfo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="camel-camel-net-utils.html#camel-freeaddrinfo" title="camel_freeaddrinfo ()">camel_freeaddrinfo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="camel-camel-net-utils.html#camel-host-idna-to-ascii" title="camel_host_idna_to_ascii ()">camel_host_idna_to_ascii</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#AI-CANONNAME:CAPS" title="AI_CANONNAME">AI_CANONNAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#AI-NUMERICHOST:CAPS" title="AI_NUMERICHOST">AI_NUMERICHOST</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-BADFLAGS:CAPS" title="EAI_BADFLAGS">EAI_BADFLAGS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-NONAME:CAPS" title="EAI_NONAME">EAI_NONAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-AGAIN:CAPS" title="EAI_AGAIN">EAI_AGAIN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-FAIL:CAPS" title="EAI_FAIL">EAI_FAIL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-NODATA:CAPS" title="EAI_NODATA">EAI_NODATA</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-FAMILY:CAPS" title="EAI_FAMILY">EAI_FAMILY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-SOCKTYPE:CAPS" title="EAI_SOCKTYPE">EAI_SOCKTYPE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-SERVICE:CAPS" title="EAI_SERVICE">EAI_SERVICE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-ADDRFAMILY:CAPS" title="EAI_ADDRFAMILY">EAI_ADDRFAMILY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-MEMORY:CAPS" title="EAI_MEMORY">EAI_MEMORY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-SYSTEM:CAPS" title="EAI_SYSTEM">EAI_SYSTEM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#EAI-OVERFLOW:CAPS" title="EAI_OVERFLOW">EAI_OVERFLOW</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#NI-NUMERICHOST:CAPS" title="NI_NUMERICHOST">NI_NUMERICHOST</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#NI-NUMERICSERV:CAPS" title="NI_NUMERICSERV">NI_NUMERICSERV</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#NI-NOFQDN:CAPS" title="NI_NOFQDN">NI_NOFQDN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#NI-NAMEREQD:CAPS" title="NI_NAMEREQD">NI_NAMEREQD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="camel-camel-net-utils.html#NI-DGRAM:CAPS" title="NI_DGRAM">NI_DGRAM</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="camel-getaddrinfo"></a><h3>camel_getaddrinfo ()</h3>
<pre class="programlisting">struct <span class="returnvalue">addrinfo</span> *
camel_getaddrinfo (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>,
<em class="parameter"><code>const <span class="type">struct addrinfo</span> *hints</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p class="since">Since: <a class="link" href="api-index-2.22.html" title="Index of new symbols in 2.22">2.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="camel-freeaddrinfo"></a><h3>camel_freeaddrinfo ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
camel_freeaddrinfo (<em class="parameter"><code><span class="type">struct addrinfo</span> *host</code></em>);</pre>
<p class="since">Since: <a class="link" href="api-index-2.22.html" title="Index of new symbols in 2.22">2.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="camel-host-idna-to-ascii"></a><h3>camel_host_idna_to_ascii ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
camel_host_idna_to_ascii (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host</code></em>);</pre>
<p>Converts IDN (Internationalized Domain Name) into ASCII representation.
If there's a failure or the <em class="parameter"><code>host</code></em>
has only ASCII letters, then a copy
of <em class="parameter"><code>host</code></em>
is returned.</p>
<div class="refsect3">
<a name="id-1.2.13.13.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>host</p></td>
<td class="parameter_description"><p>Host name, with or without non-ascii letters in utf8</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.13.13.6.4.6"></a><h4>Returns</h4>
<p> Newly allocated string with only ASCII letters describing the <em class="parameter"><code>host</code></em>
.
Free it with <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when done with it.</p>
</div>
<p class="since">Since: 3.16</p>
</div>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="AI-CANONNAME:CAPS"></a><h3>AI_CANONNAME</h3>
<pre class="programlisting">#define AI_CANONNAME 0x0002 /* Request for canonical name. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="AI-NUMERICHOST:CAPS"></a><h3>AI_NUMERICHOST</h3>
<pre class="programlisting">#define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-BADFLAGS:CAPS"></a><h3>EAI_BADFLAGS</h3>
<pre class="programlisting">#define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-NONAME:CAPS"></a><h3>EAI_NONAME</h3>
<pre class="programlisting">#define EAI_NONAME -2 /* NAME or SERVICE is unknown. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-AGAIN:CAPS"></a><h3>EAI_AGAIN</h3>
<pre class="programlisting">#define EAI_AGAIN -3 /* Temporary failure in name resolution. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-FAIL:CAPS"></a><h3>EAI_FAIL</h3>
<pre class="programlisting">#define EAI_FAIL -4 /* Non-recoverable failure in name res. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-NODATA:CAPS"></a><h3>EAI_NODATA</h3>
<pre class="programlisting">#define EAI_NODATA -5 /* No address associated with NAME. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-FAMILY:CAPS"></a><h3>EAI_FAMILY</h3>
<pre class="programlisting">#define EAI_FAMILY -6 /* `ai_family' not supported. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-SOCKTYPE:CAPS"></a><h3>EAI_SOCKTYPE</h3>
<pre class="programlisting">#define EAI_SOCKTYPE -7 /* `ai_socktype' not supported. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-SERVICE:CAPS"></a><h3>EAI_SERVICE</h3>
<pre class="programlisting">#define EAI_SERVICE -8 /* SERVICE not supported for `ai_socktype'. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-ADDRFAMILY:CAPS"></a><h3>EAI_ADDRFAMILY</h3>
<pre class="programlisting">#define EAI_ADDRFAMILY -9 /* Address family for NAME not supported. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-MEMORY:CAPS"></a><h3>EAI_MEMORY</h3>
<pre class="programlisting">#define EAI_MEMORY -10 /* Memory allocation failure. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-SYSTEM:CAPS"></a><h3>EAI_SYSTEM</h3>
<pre class="programlisting">#define EAI_SYSTEM -11 /* System error returned in `errno'. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EAI-OVERFLOW:CAPS"></a><h3>EAI_OVERFLOW</h3>
<pre class="programlisting">#define EAI_OVERFLOW -12 /* Argument buffer overflow. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NI-NUMERICHOST:CAPS"></a><h3>NI_NUMERICHOST</h3>
<pre class="programlisting">#define NI_NUMERICHOST 1 /* Don't try to look up hostname. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NI-NUMERICSERV:CAPS"></a><h3>NI_NUMERICSERV</h3>
<pre class="programlisting">#define NI_NUMERICSERV 2 /* Don't convert port number to name. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NI-NOFQDN:CAPS"></a><h3>NI_NOFQDN</h3>
<pre class="programlisting">#define NI_NOFQDN 4 /* Only return nodename portion. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NI-NAMEREQD:CAPS"></a><h3>NI_NAMEREQD</h3>
<pre class="programlisting">#define NI_NAMEREQD 8 /* Don't return numeric addresses. */
</pre>
</div>
<hr>
<div class="refsect2">
<a name="NI-DGRAM:CAPS"></a><h3>NI_DGRAM</h3>
<pre class="programlisting">#define NI_DGRAM 16 /* Look up UDP service rather than TCP. */
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|