summaryrefslogtreecommitdiff
path: root/docs/man/man3/commands.h.3
blob: 467911b07d6cb2ba062e42728fe5d6bd69f5031b (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
.TH "commands.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
commands.h \- 
.SH SYNOPSIS
.br
.PP
\fC#include <typeinfo>\fP
.br
\fC#include <iostream>\fP
.br
\fC#include <string>\fP
.br
\fC#include <deque>\fP
.br
\fC#include <sstream>\fP
.br
\fC#include <vector>\fP
.br
\fC#include 'users.h'\fP
.br
\fC#include 'channels.h'\fP
.br

.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBhandle_join\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.RI "\fIThese are the handlers for user commands. \fP"
.ti -1c
.RI "void \fBhandle_part\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_kick\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_die\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_restart\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_kill\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_summon\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_users\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_pass\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_invite\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_topic\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_names\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_privmsg\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_notice\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_info\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_time\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_whois\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_quit\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_who\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_wallops\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_list\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_rehash\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_lusers\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_admin\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_ping\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_pong\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_motd\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_rules\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_user\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_userhost\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_ison\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_away\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_whowas\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_trace\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_modules\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_stats\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_connect\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_squit\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_links\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_map\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_oper\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_nick\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_kline\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_gline\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_zline\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_qline\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_eline\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_server\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_loadmodule\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_unloadmodule\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBhandle_commands\fP (char **parameters, int pcnt, \fBuserrec\fP *user)"
.br
.ti -1c
.RI "bool \fBis_uline\fP (const char *server)"
.br
.RI "\fIFunctions for u:lined servers. \fP"
.ti -1c
.RI "long \fBduration\fP (const char *str)"
.br
.RI "\fIOther useful functions. \fP"
.in -1c
.SH "Function Documentation"
.PP 
.SS "long duration (const char * str)"
.PP
Other useful functions. 
.PP
Referenced by Server::CalcDuration().
.SS "void handle_admin (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_away (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_commands (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_connect (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_die (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_eline (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_gline (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_info (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_invite (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_ison (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_join (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
These are the handlers for user commands. 
.PP
.SS "void handle_kick (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_kill (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_kline (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_links (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_list (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_loadmodule (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_lusers (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_map (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_modules (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_motd (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_names (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_nick (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_notice (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_oper (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_part (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_pass (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_ping (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_pong (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_privmsg (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_qline (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_quit (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_rehash (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_restart (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_rules (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_server (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_squit (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_stats (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_summon (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_time (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_topic (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_trace (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_unloadmodule (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_user (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_userhost (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_users (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_wallops (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_who (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_whois (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_whowas (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "void handle_zline (char ** parameters, int pcnt, \fBuserrec\fP * user)"
.PP
.SS "bool is_uline (const char * server)"
.PP
Functions for u:lined servers. 
.PP
Referenced by Server::IsUlined().
.SH "Author"
.PP 
Generated automatically by Doxygen for InspIRCd from the source code.