iPXE
Data Fields
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:
argcArgument count
argvArgument list
Return values:
rcReturn status code

Definition at line 19 of file command.h.

Referenced by execv().


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