2003-01-26 23:52:48 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
2005-03-25 03:51:56 +00:00
< title > InspIRCd: connection.h File Reference< / title >
2005-05-13 15:52:30 +00:00
< link href = "inspircd.doxygen.css" rel = "stylesheet" type = "text/css" >
2003-01-26 23:52:48 +00:00
< / head > < body >
2005-03-25 03:51:56 +00:00
<!-- Generated by Doxygen 1.3.3 -->
2005-05-15 17:05:15 +00:00
< 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 = "namespacemembers.html" > Namespace Members< / a > | < a class = "qindex" href = "functions.html" > Compound Members< / a > | < a class = "qindex" href = "globals.html" > File Members< / a > < / div >
2005-03-25 03:51:56 +00:00
< h1 > connection.h File Reference< / h1 > < code > #include "inspircd_config.h"< / code > < br >
2003-01-26 23:52:48 +00:00
< code > #include "< a class = "el" href = "base_8h-source.html" > base.h< / a > "< / code > < br >
< code > #include < string> < / code > < br >
2004-04-02 12:38:41 +00:00
< code > #include < map> < / code > < br >
2003-02-09 12:49:00 +00:00
< code > #include < sys/types.h> < / code > < br >
2005-03-25 03:51:56 +00:00
< code > #include < sys/socket.h> < / code > < br >
2003-02-09 12:49:00 +00:00
< code > #include < netdb.h> < / code > < br >
< code > #include < netinet/in.h> < / code > < br >
< code > #include < unistd.h> < / code > < br >
< code > #include < errno.h> < / code > < br >
< code > #include < time.h> < / code > < br >
2004-04-17 12:33:39 +00:00
< code > #include < vector> < / code > < br >
< code > #include < deque> < / code > < br >
2005-04-26 17:15:49 +00:00
< code > #include < sstream> < / code > < br >
2003-01-26 23:52:48 +00:00
2005-05-13 02:04:28 +00:00
< 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 = "195,109,257,135" 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" >
2005-05-24 02:34:33 +00:00
< area href = "channels_8cpp.html" shape = "rect" coords = "14,8,113,34" alt = "" >
2005-05-13 02:04:28 +00:00
< area href = "users_8h.html" shape = "rect" coords = "58,82,122,109" alt = "" >
< area href = "servers_8h.html" shape = "rect" coords = "146,82,224,109" alt = "" >
2005-05-24 02:34:33 +00:00
< area href = "modules_8cpp.html" shape = "rect" coords = "137,8,236,34" alt = "" >
< area href = "servers_8cpp.html" shape = "rect" coords = "264,8,354,34" alt = "" >
2005-05-13 02:04:28 +00:00
< / map >
2003-01-26 23:52:48 +00:00
< 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 >
2005-03-25 03:51:56 +00:00
< 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 >
< 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 >
< 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 >
< 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 >
2003-02-09 12:49:00 +00:00
< tr > < td colspan = 2 > < br > < h2 > Defines< / h2 > < / td > < / tr >
2005-03-25 03:51:56 +00:00
< 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 >
< 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 >
< 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 >
< 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 >
< 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 >
< 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 >
2005-05-15 17:05:15 +00:00
< tr > < td colspan = 2 > < br > < h2 > Functions< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = right valign = top > std::string < / td > < td class = "memItemRight" valign = bottom > < a class = "el" href = "connection_8h.html#a6" > CreateSum< / a > ()< / td > < / tr >
2003-01-26 23:52:48 +00:00
< / table >
2003-02-09 12:49:00 +00:00
< hr > < h2 > Define Documentation< / h2 >
2004-04-17 12:33:39 +00:00
< a name = "a1" doxytag = "connection.h::STATE_CONNECTED" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2003-02-09 12:49:00 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2003-02-09 12:49:00 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
2004-04-17 12:33:39 +00:00
< td class = "md" nowrap valign = "top" > #define STATE_CONNECTED 1
2003-02-09 12:49:00 +00:00
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-05-25 22:01:10 +00:00
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 >
2003-02-09 12:49:00 +00:00
< / tr >
< / table >
2004-04-17 12:33:39 +00:00
< a name = "a0" doxytag = "connection.h::STATE_DISCONNECTED" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2004-04-02 12:38:41 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2004-04-02 12:38:41 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
2004-04-17 12:33:39 +00:00
< td class = "md" nowrap valign = "top" > #define STATE_DISCONNECTED 0
2004-04-02 12:38:41 +00:00
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-05-24 02:34:33 +00:00
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 > .
< p >
2005-05-30 05:23:22 +00:00
Referenced by < a class = "el" href = "servers_8cpp-source.html#l00142" > serverrec::BeginLink()< / a > , < a class = "el" href = "servers_8cpp-source.html#l00274" > serverrec::FlushWriteBuffers()< / a > , < a class = "el" href = "servers_8cpp-source.html#l00256" > IsRoutable()< / a > , < a class = "el" href = "servers_8cpp-source.html#l00182" > serverrec::MeshCookie()< / a > , < a class = "el" href = "servers_8cpp-source.html#l00445" > serverrec::RecvPacket()< / a > , and < a class = "el" href = "servers_8cpp-source.html#l00350" > serverrec::SendPacket()< / a > . < / td >
2004-04-02 12:38:41 +00:00
< / tr >
< / table >
2004-04-17 12:33:39 +00:00
< a name = "a3" doxytag = "connection.h::STATE_NOAUTH_INBOUND" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2003-02-09 12:49:00 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2003-02-09 12:49:00 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
2004-04-17 12:33:39 +00:00
< td class = "md" nowrap valign = "top" > #define STATE_NOAUTH_INBOUND 3
2003-02-09 12:49:00 +00:00
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-05-24 02:34:33 +00:00
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 > .
< p >
2005-05-30 05:23:22 +00:00
Referenced by < a class = "el" href = "servers_8cpp-source.html#l00212" > serverrec::AddIncoming()< / a > , and < a class = "el" href = "servers_8cpp-source.html#l00274" > serverrec::FlushWriteBuffers()< / a > . < / td >
2003-02-09 12:49:00 +00:00
< / tr >
< / table >
2004-04-17 12:33:39 +00:00
< a name = "a4" doxytag = "connection.h::STATE_NOAUTH_OUTBOUND" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2003-02-09 12:49:00 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2003-02-09 12:49:00 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
2004-04-17 12:33:39 +00:00
< td class = "md" nowrap valign = "top" > #define STATE_NOAUTH_OUTBOUND 4
2003-02-09 12:49:00 +00:00
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-05-24 02:34:33 +00:00
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 > .
< p >
2005-05-30 05:23:22 +00:00
Referenced by < a class = "el" href = "servers_8cpp-source.html#l00142" > serverrec::BeginLink()< / a > , < a class = "el" href = "servers_8cpp-source.html#l00274" > serverrec::FlushWriteBuffers()< / a > , and < a class = "el" href = "servers_8cpp-source.html#l00182" > serverrec::MeshCookie()< / a > . < / td >
2004-04-17 12:33:39 +00:00
< / tr >
< / table >
2004-04-24 23:26:47 +00:00
< a name = "a5" doxytag = "connection.h::STATE_SERVICES" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2004-04-24 23:26:47 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2004-04-24 23:26:47 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define STATE_SERVICES 5
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-04-26 17:15:49 +00:00
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 >
2004-04-24 23:26:47 +00:00
< / tr >
< / table >
2004-04-17 12:33:39 +00:00
< a name = "a2" doxytag = "connection.h::STATE_SYNC" > < / a > < p >
2005-03-25 03:51:56 +00:00
< table class = "mdTable" width = "100%" cellpadding = "2" cellspacing = "0" >
2004-04-17 12:33:39 +00:00
< tr >
2005-03-25 03:51:56 +00:00
< td class = "mdRow" >
2004-04-17 12:33:39 +00:00
< table cellpadding = "0" cellspacing = "0" border = "0" >
< tr >
< td class = "md" nowrap valign = "top" > #define STATE_SYNC 2
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< p >
2005-04-26 17:15:49 +00:00
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 >
2003-02-09 12:49:00 +00:00
< / tr >
< / table >
2005-05-15 17:05:15 +00:00
< hr > < h2 > Function Documentation< / h2 >
< a name = "a6" doxytag = "connection.h::CreateSum" > < / 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" > std::string CreateSum < / td >
< td class = "md" valign = "top" > ( < / td >
< td class = "mdname1" valign = "top" nowrap > < / td >
< td class = "md" valign = "top" > ) < / td >
< td class = "md" nowrap > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< table cellspacing = 5 cellpadding = 0 border = 0 >
< tr >
< td >
< / td >
< td >
< p >
< / td >
< / tr >
< / table >
2005-05-30 05:23:22 +00:00
< hr size = "1" > < address style = "align: right;" > < small > Generated on Mon May 30 05:15:44 2005 for InspIRCd by
2003-01-26 23:52:48 +00:00
< a href = "http://www.doxygen.org/index.html" >
2005-03-25 03:51:56 +00:00
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0 >
< / a > 1.3.3 < / small > < / address >
2003-01-26 23:52:48 +00:00
< / body >
< / html >