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

Minimum number of parameters

Definition at line 23 of file kb_cmdparser.h.

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

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::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 Wed Dec 15 11:49:30 2010 for KoreBot Library by  doxygen 1.5.5