1 #ifndef _GPXE_COMMAND_H
2 #define _GPXE_COMMAND_H
4 #include <gpxe/tables.h>
6 /** A command-line command */
8 /** Name of the command */
11 * Function implementing the command
13 * @v argc Argument count
14 * @v argv Argument list
15 * @ret rc Return status code
17 int ( * exec
) ( int argc
, char **argv
);
20 #define __command __table ( struct command, commands, 01 )
22 #endif /* _GPXE_COMMAND_H */