]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/module-doc/connection_8h.html
Changed parameters of OnPacketTransmit and OnPacketReceive to be much more useful
[user/henk/code/inspircd.git] / docs / module-doc / connection_8h.html
index 9d6e24875dcc8bef0efaf0c9685f482a4b65cd83..e547c3018cc885163d9c05ee439c6c539bdf73ff 100644 (file)
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
-<title>connection.h File Reference</title>
+<title>InspIRCd: connection.h File Reference</title>
 <link href="inspircd.css" rel="stylesheet" type="text/css">
 </head><body>
-<!-- Generated by Doxygen 1.3-rc3 -->
-<center>
-<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
-<hr><h1>connection.h File Reference</h1><code>#include "inspircd_config.h"</code><br>
+<!-- Generated by Doxygen 1.3.3 -->
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
+<h1>connection.h File Reference</h1><code>#include "inspircd_config.h"</code><br>
 <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
 <code>#include &lt;string&gt;</code><br>
 <code>#include &lt;map&gt;</code><br>
-<code>#include &lt;sys/socket.h&gt;</code><br>
 <code>#include &lt;sys/types.h&gt;</code><br>
+<code>#include &lt;sys/socket.h&gt;</code><br>
 <code>#include &lt;netdb.h&gt;</code><br>
 <code>#include &lt;netinet/in.h&gt;</code><br>
 <code>#include &lt;unistd.h&gt;</code><br>
 <code>#include &lt;errno.h&gt;</code><br>
 <code>#include &lt;time.h&gt;</code><br>
-
-<p>
-Include dependency graph for connection.h:<p><center><img src="connection_8h__incl.gif" border="0" usemap="#connection.h_map" alt="Include dependency graph"></center>
-<map name="connection.h_map">
-<area href="base_8h.html" shape="rect" coords="191,56,239,77" alt="">
-</map>
-
-<p>
-This graph shows which files directly or indirectly include this file:<p><center><img src="connection_8h__dep__incl.gif" border="0" usemap="#connection.hdep_map" alt="Included by dependency graph"></center>
-<map name="connection.hdep_map">
-<area href="servers_8h.html" shape="rect" coords="19,85,83,106" alt="">
-<area href="servers_8cpp.html" shape="rect" coords="7,16,87,37" alt="">
-<area href="users_8h.html" shape="rect" coords="115,85,165,106" alt="">
-<area href="users_8cpp.html" shape="rect" coords="111,16,177,37" alt="">
-</map>
+<code>#include &lt;vector&gt;</code><br>
+<code>#include &lt;deque&gt;</code><br>
 
 <p>
 <a href="connection_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
 <tr><td></td></tr>
 <tr><td colspan=2><br><h2>Compounds</h2></td></tr>
-<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classconnection.html">connection</a></td></tr>
-<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classpacket.html">packet</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html">connection</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Please note: classes serverrec and userrec both inherit from class connection. </em> <a href="classconnection.html#_details">More...</a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html">ircd_connector</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Each connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds. </em> <a href="classircd__connector.html#_details">More...</a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classpacket.html">packet</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class packet is deprecated. </em> <a href="classpacket.html#_details">More...</a><em><br><br></td></tr>
 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
-<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a0">PT_SYN_ONLY</a>&nbsp;&nbsp;&nbsp;0</td></tr>
-<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a1">PT_ACK_ONLY</a>&nbsp;&nbsp;&nbsp;1</td></tr>
-<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a2">PT_SYN_WITH_DATA</a>&nbsp;&nbsp;&nbsp;2</td></tr>
-<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="connection_8h.html#a3">PT_KEY_EXCHANGE</a>&nbsp;&nbsp;&nbsp;3</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a0">STATE_DISCONNECTED</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a1">STATE_CONNECTED</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a2">STATE_SYNC</a>&nbsp;&nbsp;&nbsp;2</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>&nbsp;&nbsp;&nbsp;3</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>&nbsp;&nbsp;&nbsp;4</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a5">STATE_SERVICES</a>&nbsp;&nbsp;&nbsp;5</td></tr>
+
 </table>
 <hr><h2>Define Documentation</h2>
-<a name="a1" doxytag="connection.h::PT_ACK_ONLY"></a><p>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<a name="a1" doxytag="connection.h::STATE_CONNECTED"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top"> #define STATE_CONNECTED&nbsp;&nbsp;&nbsp;1
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="connection_8h-source.html#l00035">35</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+  </tr>
+</table>
+<a name="a0" doxytag="connection.h::STATE_DISCONNECTED"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top"> #define STATE_DISCONNECTED&nbsp;&nbsp;&nbsp;0
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="connection_8h-source.html#l00034">34</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+  </tr>
+</table>
+<a name="a3" doxytag="connection.h::STATE_NOAUTH_INBOUND"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
   <tr>
-    <td class="md">
+    <td class="mdRow">
       <table cellpadding="0" cellspacing="0" border="0">
         <tr>
-          <td class="md" nowrap valign="top"> #define PT_ACK_ONLY&nbsp;&nbsp;&nbsp;1
+          <td class="md" nowrap valign="top"> #define STATE_NOAUTH_INBOUND&nbsp;&nbsp;&nbsp;3
       </table>
     </td>
   </tr>
@@ -67,16 +116,16 @@ This graph shows which files directly or indirectly include this file:<p><center
 <p>
 
 <p>
-Definition at line <a class="el" href="connection_8h-source.html#l00021">21</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
   </tr>
 </table>
-<a name="a3" doxytag="connection.h::PT_KEY_EXCHANGE"></a><p>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<a name="a4" doxytag="connection.h::STATE_NOAUTH_OUTBOUND"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
   <tr>
-    <td class="md">
+    <td class="mdRow">
       <table cellpadding="0" cellspacing="0" border="0">
         <tr>
-          <td class="md" nowrap valign="top"> #define PT_KEY_EXCHANGE&nbsp;&nbsp;&nbsp;3
+          <td class="md" nowrap valign="top"> #define STATE_NOAUTH_OUTBOUND&nbsp;&nbsp;&nbsp;4
       </table>
     </td>
   </tr>
@@ -91,16 +140,16 @@ Definition at line <a class="el" href="connection_8h-source.html#l00021">21</a>
 <p>
 
 <p>
-Definition at line <a class="el" href="connection_8h-source.html#l00023">23</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00038">38</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
   </tr>
 </table>
-<a name="a0" doxytag="connection.h::PT_SYN_ONLY"></a><p>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<a name="a5" doxytag="connection.h::STATE_SERVICES"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
   <tr>
-    <td class="md">
+    <td class="mdRow">
       <table cellpadding="0" cellspacing="0" border="0">
         <tr>
-          <td class="md" nowrap valign="top"> #define PT_SYN_ONLY&nbsp;&nbsp;&nbsp;0
+          <td class="md" nowrap valign="top"> #define STATE_SERVICES&nbsp;&nbsp;&nbsp;5
       </table>
     </td>
   </tr>
@@ -115,16 +164,16 @@ Definition at line <a class="el" href="connection_8h-source.html#l00023">23</a>
 <p>
 
 <p>
-Definition at line <a class="el" href="connection_8h-source.html#l00020">20</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00039">39</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
   </tr>
 </table>
-<a name="a2" doxytag="connection.h::PT_SYN_WITH_DATA"></a><p>
-<table width="100%" cellpadding="2" cellspacing="0" border="0">
+<a name="a2" doxytag="connection.h::STATE_SYNC"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
   <tr>
-    <td class="md">
+    <td class="mdRow">
       <table cellpadding="0" cellspacing="0" border="0">
         <tr>
-          <td class="md" nowrap valign="top"> #define PT_SYN_WITH_DATA&nbsp;&nbsp;&nbsp;2
+          <td class="md" nowrap valign="top"> #define STATE_SYNC&nbsp;&nbsp;&nbsp;2
       </table>
     </td>
   </tr>
@@ -139,12 +188,12 @@ Definition at line <a class="el" href="connection_8h-source.html#l00020">20</a>
 <p>
 
 <p>
-Definition at line <a class="el" href="connection_8h-source.html#l00022">22</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.    </td>
   </tr>
 </table>
-<hr><address style="align: right;"><small>Generated on Sat Apr 3 16:36:05 2004 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by
 <a href="http://www.doxygen.org/index.html">
-<img src="doxygen.png" alt="doxygen" align="middle" border=0 
-width=110 height=53></a>1.3-rc3 </small></address>
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 
+</a>1.3.3 </small></address>
 </body>
 </html>