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

Command Struct Reference
[Command - The CDG Scripting Language]

Collaboration diagram for Command:

Collaboration graph
[legend]

Detailed Description

command definition for the interface_commands.

Definition at line 166 of file command.c.

Data Fields

rl_compentry_func_t * args [MAXARGNO]
String doc
CommandFunctionfunction
String name
Boolean same


Field Documentation

rl_compentry_func_t* Command::args[MAXARGNO]
 

array of completion functions for each argument Definition at line 170 of file command.c.

Referenced by interface_completion().

String Command::doc
 

little help text Definition at line 177 of file command.c.

CommandFunction* Command::function
 

function that implements the command Definition at line 172 of file command.c.

Referenced by commandEval().

String Command::name
 

the name of the command Definition at line 168 of file command.c.

Referenced by cmdHelp(), command_completion_function(), commandEval(), and interface_completion().

Boolean Command::same
 

completion flag. This is set to 1 for those commands which use the same completion-function for all of their arguments Definition at line 174 of file command.c.

Referenced by interface_completion().


The documentation for this struct was generated from the following file:
CDG 0.95 (20 Oct 2004)