1 .TH "command_t" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*-
5 command_t \- A structure that defines a command.
11 \fC#include <ctables.h>\fP
13 Inherits \fBExtensible\fP.
15 .SS "Public Attributes"
19 .RI "char \fBcommand\fP [MAXBUF]"
21 .RI "\fICommand name. \fP"
23 .RI "handlerfunc * \fBhandler_function\fP"
25 .RI "\fIHandler function as in typedef. \fP"
27 .RI "char \fBflags_needed\fP"
29 .RI "\fIUser flags needed to execute the command or 0. \fP"
31 .RI "int \fBmin_params\fP"
33 .RI "\fIMinimum number of parameters command takes. \fP"
35 .RI "long \fBuse_count\fP"
37 .RI "\fIused by /stats m \fP"
39 .RI "long \fBtotal_bytes\fP"
41 .RI "\fIused by /stats m \fP"
43 .RI "char \fBsource\fP [MAXBUF]"
45 .RI "\fIused for resource tracking between modules \fP"
47 .SH "Detailed Description"
49 A structure that defines a command. Definition at line 26 of file ctables.h.
50 .SH "Member Data Documentation"
52 .SS "char \fBcommand_t::command\fP[MAXBUF]"
54 Command name. Definition at line 31 of file ctables.h.
55 .SS "char \fBcommand_t::flags_needed\fP"
57 User flags needed to execute the command or 0. Definition at line 37 of file ctables.h.
58 .SS "handlerfunc* \fBcommand_t::handler_function\fP"
60 Handler function as in typedef. Definition at line 34 of file ctables.h.
61 .SS "int \fBcommand_t::min_params\fP"
63 Minimum number of parameters command takes. Definition at line 40 of file ctables.h.
64 .SS "char \fBcommand_t::source\fP[MAXBUF]"
66 used for resource tracking between modules Definition at line 49 of file ctables.h.
67 .SS "long \fBcommand_t::total_bytes\fP"
69 used by /stats m Definition at line 46 of file ctables.h.
70 .SS "long \fBcommand_t::use_count\fP"
72 used by /stats m Definition at line 43 of file ctables.h.
76 Generated automatically by Doxygen for InspIRCd from the source code.