Files
ipxe/src/include/command.h
2006-08-09 02:30:35 +00:00

16 lines
394 B
C

#ifndef COMMAND_H
#define COMMAND_H
#include <gpxe/tables.h>
struct command {
const char *name; // The name of the command
const char *usage; // Description of how to use the command
const char *desc; // Short description of the command
int ( *exec ) ( int argc, char **argv); // The command function to call
};
#define __command __table ( commands, 01 )
#endif