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

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().

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().

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

Function able to parse the argument of this command

Definition at line 29 of file kb_cmdparser.h.

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


The documentation for this struct was generated from the following file:
Generated on Fri Dec 2 09:58:54 2011 for KoreBot Library by  doxygen 1.6.3