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
114
115
116
117
118
119
120
121
|
.TH "inspircd_io.h" 3 "15 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
inspircd_io.h \-
.SH SYNOPSIS
.br
.PP
\fC#include <sstream>\fP
.br
\fC#include <string>\fP
.br
\fC#include <vector>\fP
.br
\fC#include 'inspircd.h'\fP
.br
\fC#include 'globals.h'\fP
.br
.SS "Classes"
.in +1c
.ti -1c
.RI "class \fBServerConfig\fP"
.br
.RI "\fIThis class holds the bulk of the runtime configuration for the ircd. \fP"
.in -1c
.SS "Defines"
.in +1c
.ti -1c
.RI "#define \fBDEBUG\fP 10"
.br
.RI "\fIFlags for use with \fBlog()\fP. \fP"
.ti -1c
.RI "#define \fBVERBOSE\fP 20"
.br
.ti -1c
.RI "#define \fBDEFAULT\fP 30"
.br
.ti -1c
.RI "#define \fBSPARSE\fP 40"
.br
.ti -1c
.RI "#define \fBNONE\fP 50"
.br
.in -1c
.SS "Functions"
.in +1c
.ti -1c
.RI "void \fBExit\fP (int)"
.br
.ti -1c
.RI "void \fBStart\fP (void)"
.br
.ti -1c
.RI "int \fBDaemonSeed\fP (void)"
.br
.ti -1c
.RI "bool \fBFileExists\fP (const char *file)"
.br
.ti -1c
.RI "int \fBOpenTCPSocket\fP (void)"
.br
.ti -1c
.RI "int \fBBindSocket\fP (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char *addr)"
.br
.ti -1c
.RI "void \fBWritePID\fP (\fBstd::string\fP filename)"
.br
.ti -1c
.RI "int \fBBindPorts\fP ()"
.br
.in -1c
.SH "Define Documentation"
.PP
.SS "#define DEBUG 10"
.PP
Flags for use with \fBlog()\fP.
.PP
Definition at line 28 of file inspircd_io.h.
.PP
Referenced by add_channel(), Server::AddExtendedMode(), SocketEngine::AddFd(), chanrec::AddUser(), del_channel(), SocketEngine::DelFd(), chanrec::DelUser(), ForceChan(), InspSocket::InspSocket(), kick_channel(), InspSocket::Read(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), SocketEngine::SocketEngine(), and SocketEngine::~SocketEngine().
.SS "#define DEFAULT 30"
.PP
Definition at line 30 of file inspircd_io.h.
.PP
Referenced by add_channel(), del_channel(), and kick_channel().
.SS "#define NONE 50"
.PP
Definition at line 32 of file inspircd_io.h.
.SS "#define SPARSE 40"
.PP
Definition at line 31 of file inspircd_io.h.
.SS "#define VERBOSE 20"
.PP
Definition at line 29 of file inspircd_io.h.
.SH "Function Documentation"
.PP
.SS "int BindPorts ()"
.PP
.SS "int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char * addr)"
.PP
Referenced by InspSocket::InspSocket().
.SS "int DaemonSeed (void)"
.PP
.SS "void Exit (int)"
.PP
.SS "bool FileExists (const char * file)"
.PP
.SS "int OpenTCPSocket (void)"
.PP
Referenced by InspSocket::InspSocket().
.SS "void Start (void)"
.PP
.SS "void WritePID (\fBstd::string\fP filename)"
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
|