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 10 of file command.h.

Field Documentation

◆ name

const char* command::name

Name of the command.

Definition at line 12 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 20 of file command.h.


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