Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

command_t Class Reference

A structure that defines a command. More...

#include <ctables.h>

Inheritance diagram for command_t:

Inheritance graph
[legend]
Collaboration diagram for command_t:

Collaboration graph
[legend]
List of all members.

Public Attributes

char command [MAXBUF]
 Command name.

handlerfunc * handler_function
 Handler function as in typedef.

char flags_needed
 User flags needed to execute the command or 0.

int min_params
 Minimum number of parameters command takes.

long use_count
 used by /stats m

long total_bytes
 used by /stats m

char source [MAXBUF]
 used for resource tracking between modules


Detailed Description

A structure that defines a command.

Definition at line 26 of file ctables.h.


Member Data Documentation

char command_t::command[MAXBUF]
 

Command name.

Definition at line 31 of file ctables.h.

char command_t::flags_needed
 

User flags needed to execute the command or 0.

Definition at line 37 of file ctables.h.

handlerfunc* command_t::handler_function
 

Handler function as in typedef.

Definition at line 34 of file ctables.h.

int command_t::min_params
 

Minimum number of parameters command takes.

Definition at line 40 of file ctables.h.

char command_t::source[MAXBUF]
 

used for resource tracking between modules

Definition at line 49 of file ctables.h.

long command_t::total_bytes
 

used by /stats m

Definition at line 46 of file ctables.h.

long command_t::use_count
 

used by /stats m

Definition at line 43 of file ctables.h.


The documentation for this class was generated from the following file:
Generated on Wed May 25 21:43:00 2005 for InspIRCd by doxygen 1.3.3