Command_t Struct Reference
[Command Processing]

Structure used to define a command. More...

#include <commands.h>


Data Fields

char * command
 Command name.
bool tokenise
 Should the argument string be split on spaces?
int minArgs
 Minimum number of args this command accepts.
int maxArgs
 Maximum number of args this command accepts.
char * shortHelp
 Short description of the command, displayed by help.
char * longHelp
 Long description of the command, displayed by help <command>.
void(* commandfunc )(int argc, char **argv)
 Function to call to execute command.


Detailed Description

Structure used to define a command.

Field Documentation

Minimum number of args this command accepts.

Maximum number of args this command accepts.


The documentation for this struct was generated from the following file:

Generated on Thu Jun 26 12:58:32 2008 for DVBStreamer by  doxygen 1.5.5