blob: b8ddeddf63462afc7dac4d4a93b3e52df674f45b (
plain)
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
|
.TH "connection.h" 3 "24 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.
.PP
Referenced by serverrec::MeshCookie().
.SS "#define STATE_DISCONNECTED 0"
.PP
Definition at line 35 of file connection.h.
.PP
Referenced by serverrec::BeginLink(), serverrec::FlushWriteBuffers(), serverrec::MeshCookie(), serverrec::RecvPacket(), and serverrec::SendPacket().
.SS "#define STATE_NOAUTH_INBOUND 3"
.PP
Definition at line 38 of file connection.h.
.PP
Referenced by serverrec::AddIncoming().
.SS "#define STATE_NOAUTH_OUTBOUND 4"
.PP
Definition at line 39 of file connection.h.
.PP
Referenced by serverrec::BeginLink(), and serverrec::MeshCookie().
.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.
|