/usr/share/gtk-doc/html/camel/camel-camel-net-utils.html is in libcamel1.2-dev 3.2.3-0ubuntu7.1.
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 | <!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</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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.html" title="camel-search-sql">
<meta name="generator" content="GTK-Doc V1.18 (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="2">
<tr valign="middle">
<td><a accesskey="p" href="camel-CamelMsgPort.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Camel Reference Manual</th>
<td><a accesskey="n" href="camel-camel-search-sql.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#camel-camel-net-utils.synopsis" class="shortcut">Top</a>
|
<a href="#camel-camel-net-utils.description" class="shortcut">Description</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 valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="camel-camel-net-utils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="camel-camel-net-utils.html#AI-CANONNAME:CAPS" title="AI_CANONNAME">AI_CANONNAME</a>
#define <a class="link" href="camel-camel-net-utils.html#AI-NUMERICHOST:CAPS" title="AI_NUMERICHOST">AI_NUMERICHOST</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-BADFLAGS:CAPS" title="EAI_BADFLAGS">EAI_BADFLAGS</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-NONAME:CAPS" title="EAI_NONAME">EAI_NONAME</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-AGAIN:CAPS" title="EAI_AGAIN">EAI_AGAIN</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-FAIL:CAPS" title="EAI_FAIL">EAI_FAIL</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-NODATA:CAPS" title="EAI_NODATA">EAI_NODATA</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-FAMILY:CAPS" title="EAI_FAMILY">EAI_FAMILY</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-SOCKTYPE:CAPS" title="EAI_SOCKTYPE">EAI_SOCKTYPE</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-SERVICE:CAPS" title="EAI_SERVICE">EAI_SERVICE</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-ADDRFAMILY:CAPS" title="EAI_ADDRFAMILY">EAI_ADDRFAMILY</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-MEMORY:CAPS" title="EAI_MEMORY">EAI_MEMORY</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-SYSTEM:CAPS" title="EAI_SYSTEM">EAI_SYSTEM</a>
#define <a class="link" href="camel-camel-net-utils.html#EAI-OVERFLOW:CAPS" title="EAI_OVERFLOW">EAI_OVERFLOW</a>
#define <a class="link" href="camel-camel-net-utils.html#NI-NUMERICHOST:CAPS" title="NI_NUMERICHOST">NI_NUMERICHOST</a>
#define <a class="link" href="camel-camel-net-utils.html#NI-NUMERICSERV:CAPS" title="NI_NUMERICSERV">NI_NUMERICSERV</a>
#define <a class="link" href="camel-camel-net-utils.html#NI-NOFQDN:CAPS" title="NI_NOFQDN">NI_NOFQDN</a>
#define <a class="link" href="camel-camel-net-utils.html#NI-NAMEREQD:CAPS" title="NI_NAMEREQD">NI_NAMEREQD</a>
#define <a class="link" href="camel-camel-net-utils.html#NI-DGRAM:CAPS" title="NI_DGRAM">NI_DGRAM</a>
struct <span class="returnvalue">addrinfo</span> * <a class="link" href="camel-camel-net-utils.html#camel-getaddrinfo" title="camel_getaddrinfo ()">camel_getaddrinfo</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *service</code></em>,
<em class="parameter"><code>const <span class="type">struct addrinfo</span> *hints</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="camel-camel-net-utils.html#camel-freeaddrinfo" title="camel_freeaddrinfo ()">camel_freeaddrinfo</a> (<em class="parameter"><code><span class="type">struct addrinfo</span> *host</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="camel-camel-net-utils.html#camel-getnameinfo" title="camel_getnameinfo ()">camel_getnameinfo</a> (<em class="parameter"><code>const <span class="type">struct sockaddr</span> *sa</code></em>,
<em class="parameter"><code><span class="type">socklen_t</span> salen</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **host</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **serv</code></em>,
<em class="parameter"><code><span class="type">gint</span> flags</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="camel-camel-net-utils.details"></a><h2>Details</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</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>
<p>
</p>
</div>
<hr>
<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 <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *service</code></em>,
<em class="parameter"><code>const <span class="type">struct addrinfo</span> *hints</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p class="since">Since 2.22</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 2.22</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-getnameinfo"></a><h3>camel_getnameinfo ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> camel_getnameinfo (<em class="parameter"><code>const <span class="type">struct sockaddr</span> *sa</code></em>,
<em class="parameter"><code><span class="type">socklen_t</span> salen</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **host</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **serv</code></em>,
<em class="parameter"><code><span class="type">gint</span> flags</code></em>,
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p class="since">Since 2.22</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|