]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/man/man3/connection.h.3
Added DNS class to documentation
[user/henk/code/inspircd.git] / docs / man / man3 / connection.h.3
1 .TH "connection.h" 3 "2 Apr 2005" "InspIRCd" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 connection.h \- 
6 .SH SYNOPSIS
7 .br
8 .PP
9 \fC#include 'inspircd_config.h'\fP
10 .br
11 \fC#include 'base.h'\fP
12 .br
13 \fC#include <string>\fP
14 .br
15 \fC#include <map>\fP
16 .br
17 \fC#include <sys/types.h>\fP
18 .br
19 \fC#include <sys/socket.h>\fP
20 .br
21 \fC#include <netdb.h>\fP
22 .br
23 \fC#include <netinet/in.h>\fP
24 .br
25 \fC#include <unistd.h>\fP
26 .br
27 \fC#include <errno.h>\fP
28 .br
29 \fC#include <time.h>\fP
30 .br
31 \fC#include <vector>\fP
32 .br
33 \fC#include <deque>\fP
34 .br
35
36 .SS "Compounds"
37
38 .in +1c
39 .ti -1c
40 .RI "class \fBconnection\fP"
41 .br
42 .RI "\fIPlease note: classes serverrec and userrec both inherit from class connection. \fP"
43 .ti -1c
44 .RI "class \fBircd_connector\fP"
45 .br
46 .RI "\fIEach connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds. \fP"
47 .ti -1c
48 .RI "class \fBpacket\fP"
49 .br
50 .RI "\fIClass packet is deprecated. \fP"
51 .in -1c
52 .SS "Defines"
53
54 .in +1c
55 .ti -1c
56 .RI "#define \fBSTATE_DISCONNECTED\fP   0"
57 .br
58 .ti -1c
59 .RI "#define \fBSTATE_CONNECTED\fP   1"
60 .br
61 .ti -1c
62 .RI "#define \fBSTATE_SYNC\fP   2"
63 .br
64 .ti -1c
65 .RI "#define \fBSTATE_NOAUTH_INBOUND\fP   3"
66 .br
67 .ti -1c
68 .RI "#define \fBSTATE_NOAUTH_OUTBOUND\fP   4"
69 .br
70 .ti -1c
71 .RI "#define \fBSTATE_SERVICES\fP   5"
72 .br
73 .in -1c
74 .SH "Define Documentation"
75 .PP 
76 .SS "#define STATE_CONNECTED   1"
77 .PP
78 Definition at line 35 of file connection.h.
79 .SS "#define STATE_DISCONNECTED   0"
80 .PP
81 Definition at line 34 of file connection.h.
82 .SS "#define STATE_NOAUTH_INBOUND   3"
83 .PP
84 Definition at line 37 of file connection.h.
85 .SS "#define STATE_NOAUTH_OUTBOUND   4"
86 .PP
87 Definition at line 38 of file connection.h.
88 .SS "#define STATE_SERVICES   5"
89 .PP
90 Definition at line 39 of file connection.h.
91 .SS "#define STATE_SYNC   2"
92 .PP
93 Definition at line 36 of file connection.h.
94 .SH "Author"
95 .PP 
96 Generated automatically by Doxygen for InspIRCd from the source code.