Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

kb_command_s Struct Reference


Data Fields

char * name
int minParam
int maxParam
int(* parse )(int argc, char *argv[], void *data)

Detailed Description

Command Definition

Definition at line 17 of file kb_cmdparser.h.


Field Documentation

int kb_command_s::maxParam
 

Maximal number of parameters

Definition at line 26 of file kb_cmdparser.h.

Referenced by ksock_add_command(), ksock_init(), ksock_remove_command(), and list_command().

int kb_command_s::minParam
 

Minimum number of parameters

Definition at line 23 of file kb_cmdparser.h.

Referenced by kb_parse_command(), ksock_add_command(), ksock_init(), ksock_remove_command(), and list_command().

char* kb_command_s::name
 

Command Name

Definition at line 20 of file kb_cmdparser.h.

Referenced by help(), kb_find_command(), kb_parse_command(), ksock_add_command(), ksock_init(), ksock_remove_command(), and list_command().

int(* kb_command_s::parse)(int argc, char *argv[], void *data)
 

Function able to parse the argument of this command

Referenced by ksock_add_command(), ksock_init(), and ksock_remove_command().


The documentation for this struct was generated from the following file:
Generated on Thu Nov 17 15:41:42 2005 for KoreBot Library by doxygen 1.3.7