mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1396 e03df62e-2008-0410-955e-edbf42e46eb7
106 lines
2.0 KiB
Groff
106 lines
2.0 KiB
Groff
.TH "connection.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
connection.h \-
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include 'inspircd_config.h'\fP
|
|
.br
|
|
\fC#include 'base.h'\fP
|
|
.br
|
|
\fC#include <string>\fP
|
|
.br
|
|
\fC#include <map>\fP
|
|
.br
|
|
\fC#include <sys/types.h>\fP
|
|
.br
|
|
\fC#include <sys/socket.h>\fP
|
|
.br
|
|
\fC#include <netdb.h>\fP
|
|
.br
|
|
\fC#include <netinet/in.h>\fP
|
|
.br
|
|
\fC#include <unistd.h>\fP
|
|
.br
|
|
\fC#include <errno.h>\fP
|
|
.br
|
|
\fC#include <time.h>\fP
|
|
.br
|
|
\fC#include <vector>\fP
|
|
.br
|
|
\fC#include <deque>\fP
|
|
.br
|
|
\fC#include <sstream>\fP
|
|
.br
|
|
|
|
.SS "Compounds"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "class \fBconnection\fP"
|
|
.br
|
|
.RI "\fIPlease note: classes serverrec and userrec both inherit from class connection. \fP"
|
|
.ti -1c
|
|
.RI "class \fBircd_connector\fP"
|
|
.br
|
|
.RI "\fIEach connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds. \fP"
|
|
.in -1c
|
|
.SS "Defines"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_DISCONNECTED\fP 0"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_CONNECTED\fP 1"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_SYNC\fP 2"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_NOAUTH_INBOUND\fP 3"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_NOAUTH_OUTBOUND\fP 4"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBSTATE_SERVICES\fP 5"
|
|
.br
|
|
.in -1c
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "std::string \fBCreateSum\fP ()"
|
|
.br
|
|
.in -1c
|
|
.SH "Define Documentation"
|
|
.PP
|
|
.SS "#define STATE_CONNECTED 1"
|
|
.PP
|
|
Definition at line 36 of file connection.h.
|
|
.SS "#define STATE_DISCONNECTED 0"
|
|
.PP
|
|
Definition at line 35 of file connection.h.
|
|
.SS "#define STATE_NOAUTH_INBOUND 3"
|
|
.PP
|
|
Definition at line 38 of file connection.h.
|
|
.SS "#define STATE_NOAUTH_OUTBOUND 4"
|
|
.PP
|
|
Definition at line 39 of file connection.h.
|
|
.SS "#define STATE_SERVICES 5"
|
|
.PP
|
|
Definition at line 40 of file connection.h.
|
|
.SS "#define STATE_SYNC 2"
|
|
.PP
|
|
Definition at line 37 of file connection.h.
|
|
.SH "Function Documentation"
|
|
.PP
|
|
.SS "std::string CreateSum ()"
|
|
.PP
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for InspIRCd from the source code.
|