diff options
| author | Michael Brown | 2006-12-08 02:26:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-08 02:26:11 +0100 |
| commit | 7de5d32ff534191232039a275c68ad3552d8ff58 (patch) | |
| tree | 0d2e07dda34d72384c30da64b960de8abd567aee /src/include | |
| parent | Added execv() and system(). (diff) | |
| download | ipxe-7de5d32ff534191232039a275c68ad3552d8ff58.tar.gz ipxe-7de5d32ff534191232039a275c68ad3552d8ff58.tar.xz ipxe-7de5d32ff534191232039a275c68ad3552d8ff58.zip | |
cmdlinelib.c now calls system() rather than doing its own tokenisation
(which was extremely heavy on calls to malloc()).
Moved include/command.h to include/gpxe/command.h, since it's
gPXE-specific.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/command.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/include/command.h b/src/include/command.h deleted file mode 100644 index 113ca2f0a..000000000 --- a/src/include/command.h +++ /dev/null @@ -1,15 +0,0 @@ -#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 - |
