iPXE
Data Fields
command Struct Reference

A command-line command. More...

#include <command.h>

Data Fields

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

Detailed Description

A command-line command.

Definition at line 9 of file command.h.

Field Documentation

◆ name

const char* command::name

Name of the command.

Definition at line 11 of file command.h.

Referenced by help_exec().

◆ 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.


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