1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: connection.h File Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>connection.h File Reference</h1><code>#include "inspircd_config.h"</code><br>
9 <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br>
10 <code>#include <string></code><br>
11 <code>#include <map></code><br>
12 <code>#include <sys/types.h></code><br>
13 <code>#include <sys/socket.h></code><br>
14 <code>#include <netdb.h></code><br>
15 <code>#include <netinet/in.h></code><br>
16 <code>#include <unistd.h></code><br>
17 <code>#include <errno.h></code><br>
18 <code>#include <time.h></code><br>
19 <code>#include <vector></code><br>
20 <code>#include <deque></code><br>
21 <code>#include <sstream></code><br>
24 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>
25 <map name="connection.h_map">
26 <area href="base_8h.html" shape="rect" coords="195,109,257,135" alt="">
30 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>
31 <map name="connection.hdep_map">
32 <area href="channels_8cpp.html" shape="rect" coords="26,8,125,34" alt="">
33 <area href="users_8h.html" shape="rect" coords="58,82,122,109" alt="">
34 <area href="servers_8h.html" shape="rect" coords="146,82,224,109" alt="">
35 <area href="modules_8cpp.html" shape="rect" coords="149,8,248,34" alt="">
39 <a href="connection_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
41 <tr><td colspan=2><br><h2>Compounds</h2></td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html">connection</a></td></tr>
44 <tr><td class="mdescLeft"> </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>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html">ircd_connector</a></td></tr>
47 <tr><td class="mdescLeft"> </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>
48 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
49 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a0">STATE_DISCONNECTED</a> 0</td></tr>
51 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a1">STATE_CONNECTED</a> 1</td></tr>
53 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a2">STATE_SYNC</a> 2</td></tr>
55 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a> 3</td></tr>
57 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a> 4</td></tr>
59 <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a5">STATE_SERVICES</a> 5</td></tr>
62 <hr><h2>Define Documentation</h2>
63 <a name="a1" doxytag="connection.h::STATE_CONNECTED"></a><p>
64 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
67 <table cellpadding="0" cellspacing="0" border="0">
69 <td class="md" nowrap valign="top"> #define STATE_CONNECTED 1
74 <table cellspacing=5 cellpadding=0 border=0>
84 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>
87 <a name="a0" doxytag="connection.h::STATE_DISCONNECTED"></a><p>
88 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
91 <table cellpadding="0" cellspacing="0" border="0">
93 <td class="md" nowrap valign="top"> #define STATE_DISCONNECTED 0
98 <table cellspacing=5 cellpadding=0 border=0>
108 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>
111 <a name="a3" doxytag="connection.h::STATE_NOAUTH_INBOUND"></a><p>
112 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
115 <table cellpadding="0" cellspacing="0" border="0">
117 <td class="md" nowrap valign="top"> #define STATE_NOAUTH_INBOUND 3
122 <table cellspacing=5 cellpadding=0 border=0>
132 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>
135 <a name="a4" doxytag="connection.h::STATE_NOAUTH_OUTBOUND"></a><p>
136 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
139 <table cellpadding="0" cellspacing="0" border="0">
141 <td class="md" nowrap valign="top"> #define STATE_NOAUTH_OUTBOUND 4
146 <table cellspacing=5 cellpadding=0 border=0>
156 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>
159 <a name="a5" doxytag="connection.h::STATE_SERVICES"></a><p>
160 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
163 <table cellpadding="0" cellspacing="0" border="0">
165 <td class="md" nowrap valign="top"> #define STATE_SERVICES 5
170 <table cellspacing=5 cellpadding=0 border=0>
180 Definition at line <a class="el" href="connection_8h-source.html#l00040">40</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
183 <a name="a2" doxytag="connection.h::STATE_SYNC"></a><p>
184 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
187 <table cellpadding="0" cellspacing="0" border="0">
189 <td class="md" nowrap valign="top"> #define STATE_SYNC 2
194 <table cellspacing=5 cellpadding=0 border=0>
204 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>
207 <hr size="1"><address style="align: right;"><small>Generated on Fri May 13 01:58:59 2005 for InspIRCd by
208 <a href="http://www.doxygen.org/index.html">
209 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
210 </a>1.3.3 </small></address>