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 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libircclient: Error codes generated by libircclient.</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Error codes generated by libircclient.</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g7614d0e18de5a72ac8f64a9435a8c856">LIBIRC_ERR_OK</a> 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g4b8be458368833c2c72d19cccd33ac34">LIBIRC_ERR_INVAL</a> 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Invalid argument. <a href="#g4b8be458368833c2c72d19cccd33ac34"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g8603eb7b72065c7bf48e89ed7aab09cd">LIBIRC_ERR_RESOLV</a> 2</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not resolve host. <a href="#g8603eb7b72065c7bf48e89ed7aab09cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#gf48bc4c473962372807277dfeb6cf070">LIBIRC_ERR_SOCKET</a> 3</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not create socket. <a href="#gf48bc4c473962372807277dfeb6cf070"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#ga3a48839adc6e93968e77bf92606ac07">LIBIRC_ERR_CONNECT</a> 4</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not connect. <a href="#ga3a48839adc6e93968e77bf92606ac07"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#gf932ba7fb2e7bf4f6ed970b5cb8e715b">LIBIRC_ERR_CLOSED</a> 5</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Connection closed by remote peer. <a href="#gf932ba7fb2e7bf4f6ed970b5cb8e715b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g1ec9f29808aef1acaf8872d45395764b">LIBIRC_ERR_NOMEM</a> 6</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Out of memory. <a href="#g1ec9f29808aef1acaf8872d45395764b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#gabf548a884eaf6f7f72b62be6f5946d4">LIBIRC_ERR_ACCEPT</a> 7</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not accept new connection. <a href="#gabf548a884eaf6f7f72b62be6f5946d4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g7aebc49be2d25f795ef1e0fe8e96f12f">LIBIRC_ERR_NODCCSEND</a> 9</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not send this. <a href="#g7aebc49be2d25f795ef1e0fe8e96f12f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#ga276fdc66a5e96ab31b86269775ad681">LIBIRC_ERR_READ</a> 10</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not read DCC file or socket. <a href="#ga276fdc66a5e96ab31b86269775ad681"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g68d74be1d70d3a15df8976c186e4563a">LIBIRC_ERR_WRITE</a> 11</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not write DCC file or socket. <a href="#g68d74be1d70d3a15df8976c186e4563a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g4d4d45b7610aeacd2a142c078a57d38a">LIBIRC_ERR_STATE</a> 12</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Invalid state. <a href="#g4d4d45b7610aeacd2a142c078a57d38a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#gcb3673b06a83b11e915bbe53232f2225">LIBIRC_ERR_TIMEOUT</a> 13</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Operation timed out. <a href="#gcb3673b06a83b11e915bbe53232f2225"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#gbb77f834415ae0a332f823540a5b3245">LIBIRC_ERR_OPENFILE</a> 14</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Could not open file for DCC send. <a href="#gbb77f834415ae0a332f823540a5b3245"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g18e0ddcfe90da17b27e52e273a5ec1f5">LIBIRC_ERR_TERMINATED</a> 15</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">IRC server connection terminated. <a href="#g18e0ddcfe90da17b27e52e273a5ec1f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorcodes.html#g5880d5a307f66aaaaf7df7cbf4c165a6">LIBIRC_ERR_NOIPV6</a> 16</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">IPv6 not supported. <a href="#g5880d5a307f66aaaaf7df7cbf4c165a6"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="gabf548a884eaf6f7f72b62be6f5946d4"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_ACCEPT" ref="gabf548a884eaf6f7f72b62be6f5946d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_ACCEPT 7 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not accept new connection.
<p>
A DCC chat/send connection from the remote peer could not be accepted. Either the connection was just terminated before it is accepted, or there is a bug in libircclient.
</div>
</div><p>
<a class="anchor" name="gf932ba7fb2e7bf4f6ed970b5cb8e715b"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_CLOSED" ref="gf932ba7fb2e7bf4f6ed970b5cb8e715b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_CLOSED 5 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Connection closed by remote peer.
<p>
The IRC connection was closed by the IRC server (which could mean that an IRC operator just have banned you from the server :)), or the DCC connection was closed by remote peer - for example, the other side just quits his mIrc. Usually it is not an error.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__running.html#g112631b75eb9997868d73fede17440d0" title="Goes into forever-loop, processing IRC events and generating callbacks.">irc_run</a> <a class="el" href="group__conndisc.html#g121b23c9e131da651175ae779e1b6851" title="Initiates a connection to IRC server.">irc_connect</a> <a class="el" href="group__dccstuff.html#g92d4d3f7866bd8c4f1d6df8f05d939f9" title="A common DCC callback, used to inform you about the current DCC state or event.">irc_dcc_callback_t</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="ga3a48839adc6e93968e77bf92606ac07"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_CONNECT" ref="ga3a48839adc6e93968e77bf92606ac07" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_CONNECT 4 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not connect.
<p>
The socket could not connect to the IRC server, or to the destination DCC part. Usually means that either the IRC server is down or its address is invalid. For DCC the reason usually is the firewall on your or destination computer, which refuses DCC transfer.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__running.html#g112631b75eb9997868d73fede17440d0" title="Goes into forever-loop, processing IRC events and generating callbacks.">irc_run</a> <a class="el" href="group__conndisc.html#g121b23c9e131da651175ae779e1b6851" title="Initiates a connection to IRC server.">irc_connect</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="g4b8be458368833c2c72d19cccd33ac34"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_INVAL" ref="g4b8be458368833c2c72d19cccd33ac34" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_INVAL 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid argument.
<p>
An invalid value was given for one of the arguments to a function. For example, supplying the NULL value for <em>channel</em> argument of <a class="el" href="group__ircmd__ch.html#g4960c546c2a077e8fb01fc7aa5ae7add" title="Joins the new IRC channel.">irc_cmd_join()</a> produces LIBIRC_ERR_INVAL error. You should fix the code.
</div>
</div><p>
<a class="anchor" name="g7aebc49be2d25f795ef1e0fe8e96f12f"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_NODCCSEND" ref="g7aebc49be2d25f795ef1e0fe8e96f12f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_NODCCSEND 9 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not send this.
<p>
A <em>filename</em> supplied to <a class="el" href="group__dccstuff.html#gf9e8a307113cd27d08e082fda6264262" title="Sends a file via DCC.">irc_dcc_sendfile()</a> could not be sent. Either is is not a file (a directory or a socket, for example), or it is not readable. *<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__errorcodes.html#gbb77f834415ae0a332f823540a5b3245" title="Could not open file for DCC send.">LIBIRC_ERR_OPENFILE</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="g5880d5a307f66aaaaf7df7cbf4c165a6"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_NOIPV6" ref="g5880d5a307f66aaaaf7df7cbf4c165a6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_NOIPV6 16 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
IPv6 not supported.
<p>
The function which requires IPv6 support was called, but the IPv6 support was not compiled into the application
</div>
</div><p>
<a class="anchor" name="g1ec9f29808aef1acaf8872d45395764b"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_NOMEM" ref="g1ec9f29808aef1acaf8872d45395764b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_NOMEM 6 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Out of memory.
<p>
There are two possible reasons for this error. First is that memory could not be allocated for libircclient use, and this error usually is fatal. Second reason is that the command queue (which keeps command ready to be sent to the IRC server) is full, and could not accept more commands yet. In this case you should just wait, and repeat the command later.
</div>
</div><p>
<a class="anchor" name="g7614d0e18de5a72ac8f64a9435a8c856"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_OK" ref="g7614d0e18de5a72ac8f64a9435a8c856" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_OK 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
brief No error
</div>
</div><p>
<a class="anchor" name="gbb77f834415ae0a332f823540a5b3245"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_OPENFILE" ref="gbb77f834415ae0a332f823540a5b3245" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_OPENFILE 14 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not open file for DCC send.
<p>
The file specified in <a class="el" href="group__dccstuff.html#gf9e8a307113cd27d08e082fda6264262" title="Sends a file via DCC.">irc_dcc_sendfile()</a> could not be opened.
</div>
</div><p>
<a class="anchor" name="ga276fdc66a5e96ab31b86269775ad681"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_READ" ref="ga276fdc66a5e96ab31b86269775ad681" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_READ 10 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not read DCC file or socket.
<p>
Either a DCC file could not be read (for example, was truncated during sending), or a DCC socket returns a read error, which usually means that the network connection is terminated.
</div>
</div><p>
<a class="anchor" name="g8603eb7b72065c7bf48e89ed7aab09cd"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_RESOLV" ref="g8603eb7b72065c7bf48e89ed7aab09cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_RESOLV 2 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not resolve host.
<p>
The host name supplied for <a class="el" href="group__conndisc.html#g121b23c9e131da651175ae779e1b6851" title="Initiates a connection to IRC server.">irc_connect()</a> function could not be resolved into valid IP address. Usually means that host name is invalid.
</div>
</div><p>
<a class="anchor" name="gf48bc4c473962372807277dfeb6cf070"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_SOCKET" ref="gf48bc4c473962372807277dfeb6cf070" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_SOCKET 3 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not create socket.
<p>
The new socket could not be created or made non-blocking. Usually means that the server is out of resources, or (rarely :) a bug in libircclient.
</div>
</div><p>
<a class="anchor" name="g4d4d45b7610aeacd2a142c078a57d38a"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_STATE" ref="g4d4d45b7610aeacd2a142c078a57d38a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_STATE 12 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid state.
<p>
The function is called when it is not allowed to be called. For example, <a class="el" href="group__ircmd__ch.html#g4960c546c2a077e8fb01fc7aa5ae7add" title="Joins the new IRC channel.">irc_cmd_join()</a> was called before the connection to IRC server succeed, and event_connect is called.
</div>
</div><p>
<a class="anchor" name="g18e0ddcfe90da17b27e52e273a5ec1f5"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_TERMINATED" ref="g18e0ddcfe90da17b27e52e273a5ec1f5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_TERMINATED 15 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
IRC server connection terminated.
<p>
The connection to the IRC server was terminated - possibly, by network error. Try to <a class="el" href="group__conndisc.html#g121b23c9e131da651175ae779e1b6851" title="Initiates a connection to IRC server.">irc_connect()</a> again.
</div>
</div><p>
<a class="anchor" name="gcb3673b06a83b11e915bbe53232f2225"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_TIMEOUT" ref="gcb3673b06a83b11e915bbe53232f2225" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_TIMEOUT 13 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Operation timed out.
<p>
The DCC request is timed out. There is a timer for each DCC request, which tracks connecting, accepting and non-accepted/declined DCC requests. For every request this timer is currently 60 seconds. If the DCC request was not connected, accepted or declined during this time, it will be terminated with this error.
</div>
</div><p>
<a class="anchor" name="g68d74be1d70d3a15df8976c186e4563a"></a><!-- doxytag: member="libirc_errors.h::LIBIRC_ERR_WRITE" ref="g68d74be1d70d3a15df8976c186e4563a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LIBIRC_ERR_WRITE 11 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Could not write DCC file or socket.
<p>
Either a DCC file could not be written (for example, there is no free space on disk), or a DCC socket returns a write error, which usually means that the network connection is terminated.
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 3 15:01:06 2009 for libircclient by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
|