command Struct Reference

A command-line command. More...

#include <command.h>


Data Fields

const char * name
 Name of the command.
int(* exec )(int argc, char **argv)
 Function implementing the command.


Detailed Description

A command-line command.

Definition at line 9 of file command.h.


Field Documentation

const char* command::name

Name of the command.

Definition at line 11 of file command.h.

Referenced by execv(), and help_exec().

int( * command::exec)(int argc, char **argv)

Function implementing the command.

Parameters:
argc Argument count
argv Argument list
Return values:
rc Return status code

Referenced by execv().


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

Generated on Tue Apr 6 20:02:02 2010 for gPXE by  doxygen 1.5.7.1