summaryrefslogtreecommitdiffstats
path: root/src/include/command.h
blob: 113ca2f0a9808e92006bf6ec023b9d8e72585e51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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